build pxe env tweaks
This commit is contained in:
parent
c6e0fc37fd
commit
ec74eef187
1 changed files with 6 additions and 3 deletions
|
@ -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`
|
Loading…
Reference in a new issue