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
1 changed files with 6 additions and 2 deletions

View File

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