Browse Source

Merge "bootstrap_admin_node: Fix connectivity check."

Jenkins 2 years ago
parent
commit
542f98cfeb
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      iso/bootstrap_admin_node.sh

+ 2
- 2
iso/bootstrap_admin_node.sh View File

@@ -554,8 +554,8 @@ else
554 554
 fi
555 555
 
556 556
 #Check if repo is accessible
557
-echo "Checking for access to updates repository..."
558
-repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl" && $3 ~ "updates") print $3}' | head -1)
557
+echo "Checking for access to updates repository/mirrorlist..."
558
+repourl=$(yum repolist all -v | awk '{if ($1 ~ "baseurl|mirrors" && $3 ~ "updates") print $3}' | head -1)
559 559
 if urlaccesscheck check "$repourl" ; then
560 560
   UPDATE_ISSUES=0
561 561
 else

Loading…
Cancel
Save