Merge "nova: Only install OVMF on EL 7 when installing from source"
This commit is contained in:
commit
96b8816a5d
@ -65,13 +65,17 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'openvswitch'
|
||||
] %}
|
||||
{% if base_arch == 'x86_64' %}
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'OVMF'
|
||||
] %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] and base_distro_tag.startswith('7') %}
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'OVMF'
|
||||
] %}
|
||||
{% endif %}
|
||||
{% elif base_arch == 'aarch64' %}
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'AAVMF'
|
||||
] %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] and base_distro_tag.startswith('7') %}
|
||||
{% set nova_base_packages = nova_base_packages + [
|
||||
'AAVMF'
|
||||
] %}
|
||||
{% endif %}
|
||||
{% elif base_arch == 'ppc64le' %}
|
||||
{# NOTE(Jeffrey4l): no packages for ppc64le #}
|
||||
{% endif %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user