X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=pxe-server;h=7fced849def066ca634f42b3ab20f27708c9bc94;hb=bacafbabe07c9edc86eaa75c24887d6fac0c310a;hp=bba53e6cbfbc462d7b824ef2454f413ad330bcef;hpb=17ef86e0555e0c8db46708b9833da4f4591e74be;p=automated-distro-installer diff --git a/pxe-server b/pxe-server index bba53e6..7fced84 100755 --- a/pxe-server +++ b/pxe-server @@ -15,28 +15,23 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -# Setup dhcp server to point to tftp server, -# and depending on the type, setup the tftp server. -# usage: $0 TYPE -# default distro is the base debian/fedora type. others are fai & arch. -# for no pxe server, use a no-op like : or true. -set -eE -o pipefail -trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR +x="$(readlink -f "$BASH_SOURCE")"; source "${x%/*}/bash-trace" usage() { cat <