build pxe env tweaks

This commit is contained in:
Jesse Andrews 2011-11-11 13:51:55 -08:00
parent c6e0fc37fd
commit ec74eef187

View file

@ -1,11 +1,14 @@
#!/bin/bash -e
# build_pxe_boot.sh - Create a PXE boot environment
# build_pxe_env.sh - Create a PXE boot environment
#
# build_pxe_boot.sh destdir
# build_pxe_env.sh destdir
#
# Requires Ubuntu Oneiric
#
# Assumes syslinux is installed
# Only needs to run as root if the destdir permissions require it
dpkg -l syslinux || apt-get install -y syslinux
DEST_DIR=${1:-/tmp}/tftpboot
PXEDIR=${PXEDIR:-/var/cache/devstack/pxe}
OPWD=`pwd`