From e757eff8998faeecb25f375c8067f3ba1baf13d5 Mon Sep 17 00:00:00 2001 From: Jeffrey Zhang Date: Thu, 22 Sep 2016 20:46:11 +0800 Subject: [PATCH] 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 --- docker/ceph/ceph-base/Dockerfile.j2 | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docker/ceph/ceph-base/Dockerfile.j2 b/docker/ceph/ceph-base/Dockerfile.j2 index f868cc247f..d3ebbe2062 100644 --- a/docker/ceph/ceph-base/Dockerfile.j2 +++ b/docker/ceph/ceph-base/Dockerfile.j2 @@ -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")) }}