iankelling.org
/
git
/
automated-distro-installer
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add rescue, fix default pxe, ubuntu locale
[automated-distro-installer]
/
myfai-chboot
diff --git
a/myfai-chboot
b/myfai-chboot
index f65175a17234923bfed4716831a6108a5384fea5..452f8fa579cd3a45de80684a25db60d9b565fb52 100755
(executable)
--- a/
myfai-chboot
+++ b/
myfai-chboot
@@
-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.
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
}
EOF
exit $1
}
@@
-31,4
+35,4
@@
esac
host=$(chost faiserver)
host=$(chost faiserver)
-ssh root@$host bash -s "$@" <myfai-chboot-local
+ssh root@$host bash -s
--
"$@" <myfai-chboot-local