From: Ian Kelling Date: Sat, 13 Aug 2016 06:28:39 +0000 (-0700) Subject: attempted bug fix for dsfull X-Git-Url: https://iankelling.org/git/?a=commitdiff_plain;h=da12892acf1eda37539938f2dd726f815b377e7a;p=automated-distro-installer attempted bug fix for dsfull --- diff --git a/dsfull b/dsfull index 44588ba..c6f1875 100755 --- a/dsfull +++ b/dsfull @@ -22,10 +22,8 @@ fi set -x if $reboot; then - ssh $host sudo bash <<'EOF' || [[ $? == 255 ]] -touch /tmp/keyscript-off -reboot -EOF + # untested, this caused hang using here doc. + ssh $host sudo bash -c "touch /tmp/keyscript-off; reboot" ||: fi pxe-server fai $host