diff --git a/docker/nova/nova-base/Dockerfile.j2 b/docker/nova/nova-base/Dockerfile.j2 index da379662cf..b3ec434b18 100644 --- a/docker/nova/nova-base/Dockerfile.j2 +++ b/docker/nova/nova-base/Dockerfile.j2 @@ -20,12 +20,20 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% set nova_base_packages = nova_base_packages + [ 'OVMF' ] %} + {% else %} + {% set nova_base_packages = nova_base_packages + [ + 'edk2-ovmf' + ] %} {% endif %} {% elif base_arch == 'aarch64' %} {% if base_distro_tag.startswith('7') %} {% set nova_base_packages = nova_base_packages + [ 'AAVMF' ] %} + {% else %} + {% set nova_base_packages = nova_base_packages + [ + 'edk2-aarch64' + ] %} {% endif %} {% elif base_arch == 'ppc64le' %} {# NOTE(Jeffrey4l): no packages for ppc64le #} @@ -65,12 +73,20 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% set nova_base_packages = nova_base_packages + [ 'OVMF' ] %} + {% else %} + {% set nova_base_packages = nova_base_packages + [ + 'edk2-ovmf' + ] %} {% endif %} {% elif base_arch == 'aarch64' %} {% if base_distro_tag.startswith('7') %} {% set nova_base_packages = nova_base_packages + [ 'AAVMF' ] %} + {% else %} + {% set nova_base_packages = nova_base_packages + [ + 'edk2-aarch64' + ] %} {% endif %} {% elif base_arch == 'ppc64le' %} {# NOTE(Jeffrey4l): no packages for ppc64le #}