summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorMichal Skalski <mskalski@mirantis.com>2016-08-08 11:57:03 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-08 11:57:03 +0000
commit86d6be410288ff3865f929fdc64435c7cc572c8e (patch)
treee0e35d498f3ae48a47dce4c993b2bf807fb7f53c /build
parentc15c41b96c1922fcb2b9bbb2661b3ae562fda375 (diff)
parent0d3b227c8aac7f501f4d2e89f47bf6de8c37a46a (diff)
Merge "bootstrap_admin_node: Fix connectivity check."
Diffstat (limited to 'build')
-rw-r--r--build/bootstrap_admin_node.sh.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/build/bootstrap_admin_node.sh.patch b/build/bootstrap_admin_node.sh.patch
index 129339abd..d3769adfb 100644
--- a/build/bootstrap_admin_node.sh.patch
+++ b/build/bootstrap_admin_node.sh.patch
@@ -70,3 +70,14 @@ index 3197c91..e035145 100755
if [ "`get_bootstrap_skip`" = "False" ]; then
build_ubuntu_bootstrap bs_status || true
else
+@@ -571,8 +571,8 @@
+ fi
+
+ #Check if repo is accessible
+-echo "Checking for access to updates repository..."
+-repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl" && $3 ~ "updates") print $3}' | head -1)
++echo "Checking for access to updates repository/mirrorlist..."
++repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl|mirrors" && $3 ~ "updates") print $3}' | head -1)
+ if urlaccesscheck check "$repourl" ; then
+ UPDATE_ISSUES=0
+ else