summaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_bootstrap/post-scripts
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-01-28 15:28:07 +0100
committerMichal Skalski <mskalski@mirantis.com>2016-01-29 10:26:08 +0100
commitf595c31b29147efb1410756b491ff7bf48d256ec (patch)
treefa80af3db1c189321717b458ac650fd44edb3af9 /build/f_isoroot/f_bootstrap/post-scripts
parent108cdaacf2e3cc1febabc10cead78b1120e9156b (diff)
Create local mirrors for offline installation
- switch to fuel-mirror [1] - plugin developers can create packages.yaml file with names of required packages - use custom configuration for fuel-bootstrap which always point to local repositories - delay process of bootstrap image creation until mirrors will be ready [1] https://github.com/openstack/fuel-mirror Change-Id: Ie4a47c8cc13d9ded8c6b5fe48cdcbfeb1f6277a4 Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Diffstat (limited to 'build/f_isoroot/f_bootstrap/post-scripts')
-rwxr-xr-xbuild/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh b/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh
index 427a55add..8dad89397 100755
--- a/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh
+++ b/build/f_isoroot/f_bootstrap/post-scripts/03_install_repo.sh
@@ -16,4 +16,9 @@ if [ $? -ne 0 ]; then
echo "Error removing /opt/opnfv/nailgun directory!"
exit 1
fi
+mv /opt/opnfv/fuel_bootstrap_cli.yaml /etc/fuel-bootstrap-cli/fuel_bootstrap_cli.yaml
+if [ $? -ne 0 ]; then
+ echo "Error moving bootstrap image configuration!"
+ exit 1
+fi
echo "Done installing pre-build repo"