Merge "bootstrap_admin_node: Fix connectivity check."
This commit is contained in:
commit
542f98cfeb
|
@ -554,8 +554,8 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Check if repo is accessible
|
#Check if repo is accessible
|
||||||
echo "Checking for access to updates repository..."
|
echo "Checking for access to updates repository/mirrorlist..."
|
||||||
repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl" && $3 ~ "updates") print $3}' | head -1)
|
repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl|mirrors" && $3 ~ "updates") print $3}' | head -1)
|
||||||
if urlaccesscheck check "$repourl" ; then
|
if urlaccesscheck check "$repourl" ; then
|
||||||
UPDATE_ISSUES=0
|
UPDATE_ISSUES=0
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue