X-Git-Url: https://iankelling.org/git/?p=automated-distro-installer;a=blobdiff_plain;f=pxe-server;h=6137386a1188d9ab9c50e4bee783e7ee57dfc053;hp=5915f96f1931da30cdf4f3ec24f4a6f10ff1f3f5;hb=HEAD;hpb=14f283f82afc48d6cec1bb7498ec34ac2b0da77c diff --git a/pxe-server b/pxe-server index 5915f96..1e99b03 100755 --- a/pxe-server +++ b/pxe-server @@ -47,8 +47,9 @@ TYPE One of arch, parabola, plain, fai. after the 2nd. I can't remember exactly why this caused a problem, but I'm hoping the sleep will take care of it. -d Don't alter dhcp config. Only make sense for fai type, and on network - other than home or fsf, or when using fai-cd. + other than home or fsf, when using fai-cd, or pxe-kexec. -k Pass -k to myfai-chboot. +--no-r Pass --no-r to myfai-chboot. -r Don't redeploy fai config. For example, if there is a different host that is mid-install. @@ -105,13 +106,14 @@ case $HOSTNAME in esac chboot_args=() -temp=$(getopt -l help adkrSwh "$@") || usage 1 +temp=$(getopt -l no-r,help adkrSwh "$@") || usage 1 eval set -- "$temp" while true; do case $1 in -a) wait=true; set=false; shift ;; -d) dhcp=false; shift ;; -k) chboot_args+=(-k); shift ;; + --no-r) chboot_args+=(--no-r); shift ;; -r) redep=false; shift ;; -S) chboot_args+=(-S); shift ;; -w) wait=true; set=true; shift ;;