add rescue, fix default pxe, ubuntu locale
[automated-distro-installer] / myfai-chboot
index f65175a17234923bfed4716831a6108a5384fea5..452f8fa579cd3a45de80684a25db60d9b565fb52 100755 (executable)
@@ -22,6 +22,10 @@ Argument sets the host to enable it for.  No argument disables pxe
 config for all hosts, but leaves nfs server alone. Use faiserver-disable
 to disable the nfs server.
 
+-S          sets FAI_ACTION=sysinfo, and remove fai flag reboot.
+            Usefull for doing a system recovery.
+-h|--help   Print help and exit.
+
 EOF
     exit $1
 }
@@ -31,4 +35,4 @@ esac
 
 
 host=$(chost faiserver)
-ssh root@$host bash -s "$@" <myfai-chboot-local
+ssh root@$host bash -s -- "$@" <myfai-chboot-local