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>
This commit is contained in:
Radosław Piliszek 2019-09-16 19:35:47 +02:00
parent b98182d9e9
commit ed29cb61b8
1 changed files with 3 additions and 0 deletions

View File

@ -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")) }}