Missing pxelinux.0 on RedHat systems
On a RedHat system the syslinux binaries are located in a different directory. Change-Id: I3b7a111e82e8845b6222c57fb2cfb725d9bb1dd7
This commit is contained in:
parent
8db8f38c65
commit
74aad31c33
@ -215,7 +215,16 @@ function configure_baremetal_nova_dirs() {
|
||||
# ensure /tftpboot is prepared
|
||||
sudo mkdir -p /tftpboot
|
||||
sudo mkdir -p /tftpboot/pxelinux.cfg
|
||||
sudo cp /usr/lib/syslinux/pxelinux.0 /tftpboot/
|
||||
|
||||
PXEBIN=/usr/share/syslinux/pxelinux.0
|
||||
if [ ! -f $PXEBIN ]; then
|
||||
PXEBIN=/usr/lib/syslinux/pxelinux.0
|
||||
if [ ! -f $PXEBIN ]; then
|
||||
die $LINENO "pxelinux.0 (from SYSLINUX) not found."
|
||||
fi
|
||||
fi
|
||||
|
||||
sudo cp $PXEBIN /tftpboot/
|
||||
sudo chown -R $STACK_USER:$LIBVIRT_GROUP /tftpboot
|
||||
|
||||
# ensure $NOVA_STATE_PATH/baremetal is prepared
|
||||
|
Loading…
Reference in New Issue
Block a user