aboutsummaryrefslogtreecommitdiffstats
path: root/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-01-28 15:28:07 +0100
committerStefan Berg <sfb@consultron.com>2016-01-29 14:41:57 +0100
commit65c164021cb356b3d4e6888488fb62c3395da4f5 (patch)
tree8225bb2225c48f450b66eebd1682cd122b5c2cb4 /build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
parent5aa0078848414d6492118f9c6d533c5de3d70bf6 (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> (cherry picked from commit f595c31b29147efb1410756b491ff7bf48d256ec)
Diffstat (limited to 'build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh')
-rwxr-xr-xbuild/f_isoroot/f_bootstrap/bootstrap_admin_node.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
index 35d107ab4..8bf1bb165 100755
--- a/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
+++ b/build/f_isoroot/f_bootstrap/bootstrap_admin_node.sh
@@ -277,10 +277,6 @@ rmdir /var/log/remote && ln -s /var/log/docker-logs/remote /var/log/remote
dockerctl check || fail
bash /etc/rc.local
-if [ "`get_bootstrap_flavor`" = "ubuntu" ]; then
- build_ubuntu_bootstrap || true
-fi
-
### OPNFV addition BEGIN
shopt -s nullglob
for script in /opt/opnfv/bootstrap/post.d/*.sh
@@ -291,6 +287,11 @@ done
shopt -u nullglob
### OPNFV addition END
+if [ "`get_bootstrap_flavor`" = "ubuntu" ]; then
+ build_ubuntu_bootstrap || true
+fi
+
+
# Enable updates repository
cat > /etc/yum.repos.d/mos${FUEL_RELEASE}-updates.repo << EOF
[mos${FUEL_RELEASE}-updates]