Skip to content

Commit ec74eef

Browse files
committed
build pxe env tweaks
1 parent c6e0fc3 commit ec74eef

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
#!/bin/bash -e
2-
# build_pxe_boot.sh - Create a PXE boot environment
2+
# build_pxe_env.sh - Create a PXE boot environment
33
#
4-
# build_pxe_boot.sh destdir
4+
# build_pxe_env.sh destdir
5+
#
6+
# Requires Ubuntu Oneiric
57
#
6-
# Assumes syslinux is installed
78
# Only needs to run as root if the destdir permissions require it
89

10+
dpkg -l syslinux || apt-get install -y syslinux
11+
912
DEST_DIR=${1:-/tmp}/tftpboot
1013
PXEDIR=${PXEDIR:-/var/cache/devstack/pxe}
1114
OPWD=`pwd`

0 commit comments

Comments
 (0)