fixes, t11, install in ad-hoc network
[automated-distro-installer] / pxe-server
index 78e25a6b9fd0de1a8771d7b0c6871525be5d2532..1e99b03a004447eb1124f1d1585b5aa33a919a5a 100755 (executable)
@@ -49,6 +49,7 @@ TYPE       One of arch, parabola, plain, fai.
 -d         Don't alter dhcp config. Only make sense for fai type, and on network
            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 ;;