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>
This commit is contained in:
Dave Walker (Daviey) 2017-03-12 19:25:18 +00:00
parent 8d37c9fe35
commit 76cae7fe0b
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,7 @@ RUN rm -f /etc/nova/nova-compute.conf
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set nova_compute_packages = [
'dosfstools',
'libvirt-devel',
'openvswitch',
'qemu-img',
@ -63,6 +64,7 @@ RUN rm -f /etc/nova/nova-compute.conf
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set nova_compute_packages = [
'dosfstools',
'libvirt-dev',
'qemu-utils',
'ceph-common',