summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-08-31 12:31:58 +0000
committerGerrit Code Review <review@openstack.org>2016-08-31 12:31:58 +0000
commit542f98cfebf6bf2c665d07827761ad48da647699 (patch)
treefc345d6fedf8db6e8c584bf1caf03e07f073fa83
parent6bad843b489ab73676fa9c1b2fb0187172b85f69 (diff)
parentab98c79af06e483952e9d4dbc38f51972fc5bf66 (diff)
Merge "bootstrap_admin_node: Fix connectivity check."
-rwxr-xr-xiso/bootstrap_admin_node.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/iso/bootstrap_admin_node.sh b/iso/bootstrap_admin_node.sh
index cc94b43..dbcac5f 100755
--- a/iso/bootstrap_admin_node.sh
+++ b/iso/bootstrap_admin_node.sh
@@ -554,8 +554,8 @@ else
554fi 554fi
555 555
556#Check if repo is accessible 556#Check if repo is accessible
557echo "Checking for access to updates repository..." 557echo "Checking for access to updates repository/mirrorlist..."
558repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl" && $3 ~ "updates") print $3}' | head -1) 558repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl|mirrors" && $3 ~ "updates") print $3}' | head -1)
559if urlaccesscheck check "$repourl" ; then 559if urlaccesscheck check "$repourl" ; then
560 UPDATE_ISSUES=0 560 UPDATE_ISSUES=0
561else 561else