if $set; then
set-pxe
if [[ $type == fai ]]; then
- myfai-chboot $host
+ e myfai-chboot $host
if $redep; then
- fai-redep
+ e fai-redep
fi
- faiserver-enable
else
- myfai-chboot
- faiserver-disable
+ e myfai-chboot
fi
fi
# 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,