summaryrefslogtreecommitdiffstats
path: root/build/bootstrap_admin_node.sh.patch
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-06-08 00:54:57 +0200
committerMichal Skalski <mskalski@mirantis.com>2016-06-14 15:48:16 +0200
commit093786068023914a3df555ded133abf8871c6d09 (patch)
treeca3f4e752afa0de0b2c3408e52961bdcb567c75a /build/bootstrap_admin_node.sh.patch
parent14f07bc7ecb9f166d5244abcc5789d8fd584c0dd (diff)
Build local mirrors for stable/mitaka
Change-Id: I3128652aeb87cb2cfaa91ded1b8d9ebeeb70d33b Signed-off-by: Michal Skalski <mskalski@mirantis.com>
Diffstat (limited to 'build/bootstrap_admin_node.sh.patch')
-rw-r--r--build/bootstrap_admin_node.sh.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/build/bootstrap_admin_node.sh.patch b/build/bootstrap_admin_node.sh.patch
index aeef3f7b4..e137b740d 100644
--- a/build/bootstrap_admin_node.sh.patch
+++ b/build/bootstrap_admin_node.sh.patch
@@ -34,6 +34,28 @@
# Give user 15 seconds to enter fuelmenu or else continue
echo
***************
+*** 360,368 ****
+ fi
+ fi
+
+ # Enable online base MOS repos (security, updates) if we run an ISO installation
+! [ -f /etc/fuel_build_id ] && \
+! yum-config-manager --enable mos${FUEL_RELEASE}-security mos${FUEL_RELEASE}-updates --save
+
+ if [ ! -f "${ASTUTE_YAML}" ]; then
+ echo ${fuelmenu_fail_message}
+--- 360,369 ----
+ fi
+ fi
+
++ # OPNFV: Disabled to speedup installation in offline env.
+ # Enable online base MOS repos (security, updates) if we run an ISO installation
+! #[ -f /etc/fuel_build_id ] && \
+! # yum-config-manager --enable mos${FUEL_RELEASE}-security mos${FUEL_RELEASE}-updates --save
+
+ if [ ! -f "${ASTUTE_YAML}" ]; then
+ echo ${fuelmenu_fail_message}
+***************
*** 374,382 ****
[ ! -f /etc/fuel_build_id ] && \
sed -i "s|127.0.0.1:8080/ubuntu/x86_64|mirror.fuel-infra.org/mos-repos/ubuntu/${FUEL_RELEASE}|g" "${ASTUTE_YAML}"