Also copy ldlinux.c32

New versions of pxelinux.0 (such as those in RHEL-8-Beta) require
ldlinux.c32.  This change adds that to the list of syslinux_files
which are then copied into the tftproot

Change-Id: I5b8b9f3abc300e6b04c885b557d5e1952069c4f1
Closes-Bug: 1822942
This commit is contained in:
Tony Breeds 2019-04-03 17:00:33 +11:00
parent 057ceb0938
commit cd31a20c23
1 changed files with 5 additions and 1 deletions

View File

@ -65,7 +65,11 @@ class ironic::params {
$ipxe_package = 'ipxe-bootimgs'
$syslinux_package = 'syslinux-tftpboot'
$syslinux_path = $syslinux_path_custom
$syslinux_files = ['pxelinux.0', 'chain.c32']
if (Integer.new($::os['release']['major']) > 7) {
$syslinux_files = ['pxelinux.0', 'chain.c32', 'ldlinux.c32']
} else {
$syslinux_files = ['pxelinux.0', 'chain.c32']
}
}
'Debian': {
$common_package_name = 'ironic-common'