diff --git a/make_pxe.sh b/make_pxe.sh new file mode 100755 index 0000000..c544076 --- /dev/null +++ b/make_pxe.sh @@ -0,0 +1,66 @@ +#!/bin/bash +# make_pxe.sh - Create a PXE boot environment +# +# make_pxe.sh destdir +# +# Assumes syslinux is installed +# Configues PXE for Ubuntu Natty and FreeDOS + +UBUNTU_MIRROR=http://archive.ubuntu.com/ubuntu/dists/natty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64 + +DEST_DIR=${1:-/tmp/tftpboot} +OPWD=`pwd` + +DEFAULT=$DEST_DIR/pxelinux.cfg/default +cat >$DEFAULT <$MENU <>$DEFAULT <>$MENU <>$DEFAULT <>$MENU <