X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=pxe-server;h=d693642886b6c22d10cdb5d428cb1d777a7d173c;hb=9288ed79b53a9f276208c59bad353379b5e34914;hp=ec4606012a9703d1f70e2088f051057cbd2e1c44;hpb=efcfb463ceda4de1d9953da31a2c0737471e5cf8;p=automated-distro-installer diff --git a/pxe-server b/pxe-server index ec46060..d693642 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 <