Merge "Glance-api fails due to absent multipath tools"

This commit is contained in:
Zuul 2023-04-17 15:35:16 +00:00 committed by Gerrit Code Review
commit ac86cb997b

View File

@ -8,9 +8,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %} {% import "macros.j2" as macros with context %}
{% if base_package_type == 'rpm' %} {% if base_package_type == 'rpm' %}
{% set glance_api_packages = ['qemu-img'] %} {% set glance_api_packages = [
'device-mapper-multipath',
'qemu-img'
] %}
{% elif base_package_type == 'deb' %} {% elif base_package_type == 'deb' %}
{% set glance_api_packages = [ {% set glance_api_packages = [
'multipath-tools',
'nfs-common', 'nfs-common',
'qemu-utils' 'qemu-utils'
] %} ] %}