Add mkfs.vfat to nova-compute source images
Currently Windows and non-declared os_type images (defaults
to Windows) attempt to format ephemeral volumes with
mkfs.vfat but fail as this tool is not available in the
container.
This is resolved by installing dosfstools on the Source
builds (as I believe this is handled in binary builds
through dependencies).
Change-Id: Iefa5fb0a16eed30aea935268f2a9becb1481b018
Closes-bug: #1672199
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
(cherry picked from commit 76cae7fe0b
)
This commit is contained in:
parent
c9899b81fd
commit
79fd649114
|
@ -31,6 +31,7 @@ RUN apt-get install -y --no-install-recommends \
|
|||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||
|
||||
RUN yum -y install \
|
||||
dosfstools \
|
||||
libvirt-devel \
|
||||
openvswitch \
|
||||
qemu-img \
|
||||
|
@ -42,6 +43,7 @@ RUN yum -y install \
|
|||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||
|
||||
RUN apt-get install -y --no-install-recommends \
|
||||
dosfstools \
|
||||
libvirt-dev \
|
||||
qemu-utils \
|
||||
ceph-common \
|
||||
|
|
Loading…
Reference in New Issue