X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=pxe-server;h=9e74eeb757a030c9a367fabb3c8440597188d043;hb=83828fe2683227f4d8ecb2343eff28439741b490;hp=15d52e74cc6a47984e7756765e8b0ac3ebeefe44;hpb=708c79e5611549280b988c607e1a1a19fc63e991;p=automated-distro-installer diff --git a/pxe-server b/pxe-server index 15d52e7..9e74eeb 100755 --- a/pxe-server +++ b/pxe-server @@ -29,20 +29,30 @@ trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR usage() { cat < tftpboot + -r Don't redeploy fai config. For example, if there is a different host that is mid-install. --a Wait for 2 dhcp acks, then disable the pxe server after a delay. - First ack is for pxe boot, 2nd ack is for os boot. Sometimes - on debian, there is a 3rd one shortly after the 2nd. I can't remember - exactly why this caused a problem, but I'm hoping the sleep - will take care of it. --w Initially setup pxe, then wait like -a. + +-a Don't setup pxe, just Wait for 2 dhcp acks, then disable the pxe + server after a delay. First ack is for pxe boot, 2nd ack is + for os boot. Sometimes on debian, there is a 3rd one shortly + after the 2nd. I can't remember exactly why this caused a + problem, but I'm hoping the sleep will take care of it. + +-w Setup pxe, then wait like -a. -h|--help Print help and exit