fi
if ! $persist; then
- echo "waiting for 2 dhcp acks then disabling pxe"
- ack-wait 2
+ # fai's debian jessie 8.5ish does 2 dhcp requests when booting,
+ # roughly 4 seconds apart. Earlier
+ # versions did just 1. Whatever.
+ echo "waiting for 3 dhcp acks then disabling pxe"
+ ack-wait 3
set-pxe :
if [[ $type == fai ]]; then
# fai server can contain sensitive info, so turn it off