varous minor updates
[automated-distro-installer] / myfai-chboot
index de798e4d1afc0db0a8d0bd6c6421c423e00ed682..0d036b9160749f23f4bb237ed280f78f192e0371 100755 (executable)
@@ -7,7 +7,7 @@ x=$(readlink -f "$BASH_SOURCE"); cd ${x%/*}
 
 usage() {
   cat <<EOF
-usage: ${0##*/} [-h|--help] HOSTNAME|IP|default
+usage: ${0##*/} [-h|--help] [HOSTNAME|IP|default]
 
 Sets up tftp pxe config and nfs server on host "faiserver".
 
@@ -37,5 +37,5 @@ case $1 in
 esac
 
 
-host=$(chost faiserver)
+host=$(./chost faiserver)
 ssh root@$host bash -s -- "$@" <myfai-chboot-local