X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=myfai-chboot;h=308b1c70a04e317cb47e1aeacdefbc831d2c4426;hb=53b932c6f960b7f4a9bd2171cdfd630304f15fd8;hp=f732642dffa0811756e4df8bb79f0ede01ea9d3c;hpb=a027429011d313e0d9156fef9451f5a55a588163;p=automated-distro-installer diff --git a/myfai-chboot b/myfai-chboot index f732642..308b1c7 100755 --- a/myfai-chboot +++ b/myfai-chboot @@ -6,14 +6,14 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR x=$(readlink -f "$BASH_SOURCE"); cd ${x%/*} usage() { - cat </dev/null; then + ./myfai-chboot-local "$@" +else + ssh root@$host bash -s -- "$@"