From 1a676a36e9e5ad772a0b06532babca13721227de Mon Sep 17 00:00:00 2001 From: Sam Yaple Date: Thu, 22 Oct 2015 17:53:52 +0000 Subject: [PATCH] Adjust package name for Ubuntu Ironic We target 14.04 which has the package name 'syslinux' >14.04 has the package name 'pxelinux' TrivialFix Backport: Liberty Change-Id: Id0f4f503257d62d9ce45be5eb8f4faa766244d0a --- docker/ironic/ironic-pxe/Dockerfile.j2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/ironic/ironic-pxe/Dockerfile.j2 b/docker/ironic/ironic-pxe/Dockerfile.j2 index cf06040525..0ce6a87801 100644 --- a/docker/ironic/ironic-pxe/Dockerfile.j2 +++ b/docker/ironic/ironic-pxe/Dockerfile.j2 @@ -12,13 +12,13 @@ RUN yum -y install \ {% elif base_distro in ['ubuntu', 'debian'] %} -RUN apt-get install --no-install-recommends \ +RUN apt-get install -y --no-install-recommends \ tftpd-hpa \ syslinux-common \ - pxelinux \ + syslinux \ && apt-get clean \ && mkdir -p /tftpboot \ - && cp /usr/lib/syslinux/pxelinux.0 /var/lib/tftpboot/chain.c32 /tftpboot + && cp /usr/lib/syslinux/pxelinux.0 /usr/lib/syslinux/chain.c32 /tftpboot {% endif %}