Since Ubuntu 15.04 the file 'pxelinux.0' is provided by different
package ('pxelinux') which is not being installed by DevStack.
Extra problem is that this package does not exsit for earlier Ubuntu
versions at all.
More over, while in Trusty 'syslinux' package depends on
'syslinux-common', it only recommends it in Xenial, but we need it
installed as it provides *.c32 modules required for syslinux.
This patch adds 'syslinux-common' and 'pxelinux' to required deb packages
list when distro is 'xenial' or 'jessie' (as this packaging change has
its origin in Debian) by using the distro pinning in the package lists
as supported by DevStack.
Reviewed: https:/ /review. openstack. org/399485 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=d21564eabaa 27d0e801fb58153 a21b9f53c9f069
Committed: https:/
Submitter: Jenkins
Branch: master
commit d21564eabaa27d0 e801fb58153a21b 9f53c9f069
Author: Pavlo Shchelokovskyy <email address hidden>
Date: Fri Nov 18 11:52:50 2016 +0200
Fix PXE setup for fresh Ubuntu Xenial
Since Ubuntu 15.04 the file 'pxelinux.0' is provided by different
package ('pxelinux') which is not being installed by DevStack.
Extra problem is that this package does not exsit for earlier Ubuntu
versions at all.
More over, while in Trusty 'syslinux' package depends on common' , it only recommends it in Xenial, but we need it
'syslinux-
installed as it provides *.c32 modules required for syslinux.
This patch adds 'syslinux-common' and 'pxelinux' to required deb packages
list when distro is 'xenial' or 'jessie' (as this packaging change has
its origin in Debian) by using the distro pinning in the package lists
as supported by DevStack.
Change-Id: I473fc4eb52f28a 456c3f6888d5c7b 25e8e08be26
Closes-Bug: #1638940