aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2019-09-16 19:35:47 +0200
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2019-09-18 15:29:42 +0200
commited29cb61b808187288479a050053ca8604b9a123 (patch)
tree490ba2e7254c9fcb9f619b738b3c2fa349aecae8 /docker
parentb98182d9e9146144dfa711f6ee91bcca5d2708b1 (diff)
downloadkolla-ed29cb61b808187288479a050053ca8604b9a123.tar.gz
kolla-ed29cb61b808187288479a050053ca8604b9a123.zip
Add volume-related packages to zun-compute image
This lets Zun containers use Cinder volumes. Zun-compute formats attached block devices. ext* and xfs are the most common filesystems and have tools included in other relevant images. In case of Ceph ceph-common is required for rbd attachment. iSCSI is supported via packages installed in base. Change-Id: Ib094ae8fcc8468949b3cd162a1cedba3fdfd3a47 Related-bug: #1797448 Signed-off-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Diffstat (limited to 'docker')
-rw-r--r--docker/zun/zun-compute/Dockerfile.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/zun/zun-compute/Dockerfile.j2 b/docker/zun/zun-compute/Dockerfile.j2
index 0d8d385c8..5587c1cc7 100644
--- a/docker/zun/zun-compute/Dockerfile.j2
+++ b/docker/zun/zun-compute/Dockerfile.j2
@@ -13,7 +13,10 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% endif %}
{% set zun_compute_packages = [
+ 'ceph-common',
+ 'e2fsprogs',
'pciutils',
+ 'xfsprogs',
] %}
{{ macros.install_packages(zun_compute_packages | customizable("packages")) }}