We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97feb64 + 1021deb commit a70f3aaCopy full SHA for a70f3aa
data/data/bootstrap/baremetal/files/usr/local/bin/master-bmh-update.sh
@@ -2,7 +2,7 @@
2
3
set -euo pipefail
4
5
-export KUBECONFIG=/opt/openshift/auth/kubeconfig-loopback
+export KUBECONFIG=/opt/openshift/auth/kubeconfig
6
7
# Wait till the baremetalhosts are populated
8
until oc get baremetalhosts -n openshift-machine-api; do
@@ -32,4 +32,7 @@ while systemctl is-active metal3-baremetal-operator.service; do
32
done
33
34
echo "Unpause all baremetal hosts"
35
-oc annotate --overwrite -n openshift-machine-api baremetalhosts --all "baremetalhost.metal3.io/paused-"
+while ! oc annotate --overwrite -n openshift-machine-api baremetalhosts --all "baremetalhost.metal3.io/paused-" ; do
36
+ sleep 5
37
+ echo "Unpause failed, retrying"
38
+done
0 commit comments