- # fai's debian jessie 8.5ish does 2 dhcp requests when booting,
- # roughly 4 seconds apart. Earlier
- # versions did just 1. Now testing on a vm, it does 1.
- # bleh.
- echo "waiting for $acks dhcp acks then disabling pxe"
- ack-wait $acks
- type=
- set-pxe
-
- # previously tried waiting for one more ack then disabling faiserver,
- # since it can contain sensitive info, so turn it off when not in use,
- # but disabling that for now as it's inconvenient to clean this
- # up and run it in the background etc.
-
- # if [[ $type == fai ]]; then
- # echo "waiting for 1 dhcp ack then disabling fai server"
- # ack-wait 1
- # faiserver-disable
- # fi
+ # fai's debian jessie 8.5ish does 2 dhcp requests when booting,
+ # roughly 4 seconds apart. Earlier
+ # versions did just 1. Now testing on a vm, it does 1.
+ # bleh.
+ echo "waiting for $acks dhcp acks then disabling pxe"
+ ack-wait $acks
+ type=
+ unset cmd
+ set-pxe
+
+ # previously tried waiting for one more ack then disabling faiserver,
+ # since it can contain sensitive info, so turn it off when not in use,
+ # but disabling that for now as it's inconvenient to clean this
+ # up and run it in the background etc.
+
+ # if [[ $type == fai ]]; then
+ # echo "waiting for 1 dhcp ack then disabling fai server"
+ # ack-wait 1
+ # faiserver-disable
+ # fi