summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2018-10-08 02:31:19 -0400
committerJesse Luehrs <doy@tozt.net>2018-10-08 02:31:19 -0400
commitc63970a9b0c1afb4677938816db9694156d2cd88 (patch)
treecaf868f2305b86047cdf18c135c282b1d2ae9426 /bootstrap
parent9e64cd5266277955912d8d5b5442ad7b64e8d787 (diff)
downloadpuppet-tozt-c63970a9b0c1afb4677938816db9694156d2cd88.tar.gz
puppet-tozt-c63970a9b0c1afb4677938816db9694156d2cd88.zip
wait in a loop until the machine finishes rebooting
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstrap b/bootstrap
index 9b4d708..055efd5 100755
--- a/bootstrap
+++ b/bootstrap
@@ -27,6 +27,9 @@ if remote test ! -e /usr/bin/pacman; then
ensure_conf_exists
remote "cd '$conf_location/digitalocean-debian-to-arch' && bash install.sh --i_understand_that_this_droplet_will_be_completely_wiped --extra_packages 'puppet git ruby-shadow'"
sleep 30
+ while ! remote true; do
+ sleep 30
+ done
fi
ensure_conf_exists