Install the required packages for ceph-base image

Ceph need use mkfs.ext4, mkfs.btrfs and mkfs.xfs command.

Closes-Bug: #1626601
Change-Id: Ifbf8805afd7388335bbb51075ff76182f3d201b3
This commit is contained in:
Jeffrey Zhang 2016-09-22 20:46:11 +08:00 committed by Jeffrey Zhang
parent b5630840dd
commit e757eff899

View File

@ -11,7 +11,9 @@ MAINTAINER {{ maintainer }}
'ceph-radosgw', 'ceph-radosgw',
'parted', 'parted',
'hdparm', 'hdparm',
'btrfs-progs' 'btrfs-progs',
'xfsprogs',
'e2fsprogs'
] %} ] %}
{% elif base_distro in ['ubuntu', 'debian'] %} {% elif base_distro in ['ubuntu', 'debian'] %}
{% set ceph_base_packages = [ {% set ceph_base_packages = [
@ -19,7 +21,9 @@ MAINTAINER {{ maintainer }}
'radosgw', 'radosgw',
'parted', 'parted',
'hdparm', 'hdparm',
'btrfs-tools' 'btrfs-tools',
'xfsprogs',
'e2fsprogs'
] %} ] %}
{% endif %} {% endif %}
{{ macros.install_packages(ceph_base_packages | customizable("packages")) }} {{ macros.install_packages(ceph_base_packages | customizable("packages")) }}