X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=dsfull;fp=dsfull;h=5d50eab67da525f951d40f227c051d9a1c9d7baf;hp=f1966f0aaf175ca38a9b1520244c9a2022cdbbbc;hb=23bf2f3666becf9d3c219af1eaea08b4cf843492;hpb=f74458d51ebaeba827307920c7a66ed2d69d6fbd diff --git a/dsfull b/dsfull index f1966f0..5d50eab 100755 --- a/dsfull +++ b/dsfull @@ -22,7 +22,7 @@ fi set -x if $reboot; then # untested, this caused hang using here doc. - ssh $host sudo bash -c "touch /tmp/keyscript-off; reboot" ||: + ssh $host "touch /tmp/keyscript-off; sudo reboot" ||: fi pxe-server fai $host