summaryrefslogtreecommitdiffstats
path: root/build/bootstrap_admin_node.sh.patch
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-06-15 08:33:34 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-15 08:33:34 +0000
commit301ce6a92c82f65df08d75995d35316005e38ff9 (patch)
tree8aeb8b1377d64602c1739a4726161652a150093a /build/bootstrap_admin_node.sh.patch
parenta2ee8e7efc66be53645c8b1d7c43b7740bc999cd (diff)
parent093786068023914a3df555ded133abf8871c6d09 (diff)
Merge "Build local mirrors for stable/mitaka"
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}"