Limit OVMF_CODE.secboot.fd to el7

This is no longer needed for el8

Change-Id: I5026a31d3a29b5a31001c6c1f9b90b2a32af6a4b
This commit is contained in:
Alex Schultz 2019-07-11 16:29:21 -06:00
parent 008aa957f2
commit fe289fe61f
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ RUN chmod 750 /etc/sudoers.d \
{% if base_package_type == 'rpm' %}
{% if base_arch == 'x86_64' %}
{% if base_arch == 'x86_64' and base_distro_tag.startswith('7') %}
# NOTE(jeffrey4l): for x86_64, nova will validate the existence of /usr/share/OVMF/OVMF_CODE.fd
RUN ln -sf /usr/share/OVMF/OVMF_CODE.secboot.fd /usr/share/OVMF/OVMF_CODE.fd
{% endif %}