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
This commit is contained in:
parent
32006d8149
commit
1a676a36e9
@ -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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user