Merge "bootstrap_admin_node: Fix connectivity check."

This commit is contained in:
Jenkins 2016-08-31 12:31:58 +00:00 committed by Gerrit Code Review
commit 542f98cfeb
1 changed files with 2 additions and 2 deletions

View File

@ -554,8 +554,8 @@ else
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