#!/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 <