fixup initial faiserver bootstrap & small bugs
[automated-distro-installer] / dsfull
diff --git a/dsfull b/dsfull
index f1966f0aaf175ca38a9b1520244c9a2022cdbbbc..5d50eab67da525f951d40f227c051d9a1c9d7baf 100755 (executable)
--- 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