@@ -18,25 +18,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
18
18
] %}
19
19
20
20
{% if base_arch == 'x86_64' %}
21
- {% if base_distro_tag .startswith ('7' ) %}
22
- {% set nova_base_packages = nova_base_packages + [
23
- 'OVMF'
24
- ] %}
25
- {% else %}
26
- {% set nova_base_packages = nova_base_packages + [
27
- 'edk2-ovmf'
28
- ] %}
29
- {% endif %}
21
+ {% set nova_base_packages = nova_base_packages + [
22
+ 'edk2-ovmf'
23
+ ] %}
30
24
{% elif base_arch == 'aarch64' %}
31
- {% if base_distro_tag .startswith ('7' ) %}
32
- {% set nova_base_packages = nova_base_packages + [
33
- 'AAVMF'
34
- ] %}
35
- {% else %}
36
- {% set nova_base_packages = nova_base_packages + [
37
- 'edk2-aarch64'
38
- ] %}
39
- {% endif %}
25
+ {% set nova_base_packages = nova_base_packages + [
26
+ 'edk2-aarch64'
27
+ ] %}
40
28
{% elif base_arch == 'ppc64le' %}
41
29
{# NOTE(Jeffrey4l): no packages for ppc64le #}
42
30
{% endif %}
@@ -71,25 +59,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
71
59
'openvswitch'
72
60
] %}
73
61
{% if base_arch == 'x86_64' %}
74
- {% if base_distro_tag .startswith ('7' ) %}
75
- {% set nova_base_packages = nova_base_packages + [
76
- 'OVMF'
77
- ] %}
78
- {% else %}
79
- {% set nova_base_packages = nova_base_packages + [
80
- 'edk2-ovmf'
81
- ] %}
82
- {% endif %}
62
+ {% set nova_base_packages = nova_base_packages + [
63
+ 'edk2-ovmf'
64
+ ] %}
83
65
{% elif base_arch == 'aarch64' %}
84
- {% if base_distro_tag .startswith ('7' ) %}
85
- {% set nova_base_packages = nova_base_packages + [
86
- 'AAVMF'
87
- ] %}
88
- {% else %}
89
- {% set nova_base_packages = nova_base_packages + [
90
- 'edk2-aarch64'
91
- ] %}
92
- {% endif %}
66
+ {% set nova_base_packages = nova_base_packages + [
67
+ 'edk2-aarch64'
68
+ ] %}
93
69
{% elif base_arch == 'ppc64le' %}
94
70
{# NOTE(Jeffrey4l): no packages for ppc64le #}
95
71
{% endif %}
@@ -149,13 +125,6 @@ RUN chmod 750 /etc/sudoers.d \
149
125
{% endif %}
150
126
151
127
152
- {% if base_package_type == 'rpm' %}
153
- {% if base_arch == 'x86_64' and base_distro_tag .startswith ('7' ) %}
154
- # NOTE(jeffrey4l): for x86_64, nova will validate the existence of /usr/share/OVMF/OVMF_CODE.fd
155
- RUN ln -sf /usr/share/OVMF/OVMF_CODE.secboot.fd /usr/share/OVMF/OVMF_CODE.fd
156
- {% endif %}
157
- {% endif %}
158
-
159
128
COPY extend_start.sh /usr/local/bin/kolla_extend_start
160
129
161
130
RUN touch /usr/local/bin/kolla_nova_extend_start \
0 commit comments