Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge "bootstrap_admin_node.sh: fix repourl reveal"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Dec 9, 2015
2 parents 6ffc9b1 + f2b5771 commit 8e214df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iso/bootstrap_admin_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ EOF

#Check if repo is accessible
echo "Checking for access to updates repository..."
repourl=$(grep baseurl /etc/yum.repos.d/*updates* 2>/dev/null | cut -d'=' -f2- | head -1)
repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl" && $3 ~ "updates") print $3}' | head -1)
if urlaccesscheck check "$repourl" ; then
UPDATE_ISSUES=0
else
Expand Down

0 comments on commit 8e214df

Please sign in to comment.