X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=pxe-server;h=bba53e6cbfbc462d7b824ef2454f413ad330bcef;hb=17ef86e0555e0c8db46708b9833da4f4591e74be;hp=a3df1a5953846368397e9b335be844970b132771;hpb=7386cdbee20dd73095264e2ad0ead433f97ac946;p=automated-distro-installer diff --git a/pxe-server b/pxe-server index a3df1a5..bba53e6 100755 --- a/pxe-server +++ b/pxe-server @@ -31,16 +31,10 @@ usage() { Usage: ${0##*/} [OPTIONS] [HOST TYPE] Configure dnsmasq pxe server options and fai-chboot if appropriate. - Without HOST TYPE, disable pxe server and fai server. -TYPE is one of arch, plain, fai. -HOST is a hostname known to the dhcp server, or default for all -Note, when switching between plain and arch, you will need to -do something like: -ssh wrt -cd /mnt/usb -rm tftpboot -ln -s tftpboot + +HOST A hostname known to the dhcp server, or default for all. +TYPE One of arch, plain, fai. -r Don't redeploy fai config. For example, if there is a different host @@ -56,6 +50,14 @@ ln -s tftpboot -h|--help Print help and exit +Note, when switching between plain and arch, you will need to +do something like: +ssh wrt +cd /mnt/usb +rm tftpboot +ln -s tftpboot + + Note: Uses GNU getopt options parsing style EOF exit $1