Add e2fsprogs and xfsprogs to ironic-conductor

These are required for formatting ext and XFS ephemeral disk partitions
when using the iSCSI deployment drivers.

Change-Id: Icd187cdd1eb0cb36fbda6c04304bd25d31199bd7
Closes-Bug: #1701320
This commit is contained in:
Mark Goddard 2017-06-29 12:11:26 +01:00
parent 06d84707ad
commit 5244d7e21d
1 changed files with 12 additions and 4 deletions

View File

@ -11,6 +11,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
# python-seamicroclient, pyremotevbox package
{% set ironic_conductor_packages = [
'dosfstools',
'e2fsprogs',
'gdisk',
'ipmitool',
'openstack-ironic-conductor',
@ -27,7 +28,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'qemu-img',
'shellinabox',
'socat',
'util-linux'
'util-linux',
'xfsprogs',
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
# TODO(jeffrey4l): no python-dracclient, python-oneviewclient, UcsSdk,
@ -35,6 +37,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set ironic_conductor_packages = [
'bsdmainutils',
'dosfstools',
'e2fsprogs',
'gdisk',
'ipmitool',
'ironic-conductor',
@ -49,13 +52,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'python-seamicroclient',
'qemu-utils',
'shellinabox',
'socat'
'socat',
'xfsprogs',
] %}
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set ironic_conductor_packages = [
'dosfstools',
'e2fsprogs',
'fuse',
'gdisk',
'ipmitool',
@ -64,19 +69,22 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'qemu-img',
'shellinabox',
'socat',
'util-linux'
'util-linux',
'xfsprogs',
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set ironic_conductor_packages = [
'bsdmainutils',
'dosfstools',
'e2fsprogs',
'gdisk',
'ipmitool',
'parted',
'psmisc',
'qemu-utils',
'shellinabox',
'socat'
'socat',
'xfsprogs',
] %}
{% endif %}