File tree Expand file tree Collapse file tree 3 files changed +7
-12
lines changed
data/data/agent/files/usr/local/bin Expand file tree Collapse file tree 3 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 33# shellcheck disable=SC1091
44source /etc/assisted/rendezvous-host.env
55
6- wait_for_assisted_service () {
7- echo " Waiting for assisted-service to be ready"
8- until curl --output /dev/null --silent --fail " ${SERVICE_BASE_URL} /api/assisted-install/v2/infra-envs" ; do
9- printf ' .'
10- sleep 5
11- done
12- }
13-
146is_node_zero () {
157 local is_rendezvous_host
168 is_rendezvous_host=$( ip -j address | jq " [.[].addr_info] | flatten | map(.local==\" $NODE_ZERO_IP \" ) | any" )
Original file line number Diff line number Diff line change 11#! /bin/bash
22set -e
33
4- source common.sh
54source issue_status.sh
65
7- wait_for_assisted_service
6+ wait-for-assisted-service.sh
87
98BASE_URL=" ${SERVICE_BASE_URL} api/assisted-install/v2"
109
Original file line number Diff line number Diff line change 22set -e
33
44# shellcheck disable=SC1091
5- source common.sh
5+ source /etc/assisted/rendezvous-host.env
66
7- wait_for_assisted_service
7+ echo " Waiting for assisted-service to be ready"
8+ until curl --output /dev/null --silent --fail " ${SERVICE_BASE_URL} /api/assisted-install/v2/infra-envs" ; do
9+ printf ' .'
10+ sleep 5
11+ done
You can’t perform that action at this time.
0 commit comments