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
fix some bugs and mix other things
[automated-distro-installer]
/
fai-kexec
diff --git
a/fai-kexec
b/fai-kexec
index b674d7eff2d2090675417ceb914615837e97df46..ae59f7cb3d6d56da7d5f742385152860cee541be 100755
(executable)
--- a/
fai-kexec
+++ b/
fai-kexec
@@
-22,15
+22,15
@@
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
usage() {
cat <<'EOF'
usage: $0 [-h|--help] [SERVER]
usage() {
cat <<'EOF'
usage: $0 [-h|--help] [SERVER]
-
kexec to SERVER (faiserver by default), pxe boot from it's tftp
server
+
Kexec this or a remote machine using host fai
server
-This does what pxe would do, but skipping boot sequence up to and
-including the pxe dhcp.
+If SERVER argument, ssh to root@SERVER before doing kexec. This does
+what pxe would do, but skipping boot sequence up to and including the
+pxe dhcp.
EOF
exit $1
}
EOF
exit $1
}
-
case $1 in
-h|--help) usage ;;
esac
case $1 in
-h|--help) usage ;;
esac