diff options
| author | Zhangfei Gao <zhangfei.gao@linaro.org> | 2017-08-09 14:31:03 +0800 |
|---|---|---|
| committer | Zhangfei Gao <zhangfei.gao@linaro.org> | 2017-08-15 09:43:53 +0800 |
| commit | 1c81a87221e6e536453982a35d5af033c979a3c0 (patch) | |
| tree | e709bbb48a2475cf1315532c0090f51794ad37c6 /docker | |
| parent | 43650d5837372449294a7a22e9c9167a92744e96 (diff) | |
| download | kolla-1c81a87221e6e536453982a35d5af033c979a3c0.tar.gz kolla-1c81a87221e6e536453982a35d5af033c979a3c0.zip | |
nova-compute: add package qemu-efi to support uefi image
On arm64, uefi image is usually used via --property hw_firmware_type=uefi
In order to support this, qemu-efi has to be installed
Ohterwise error reports:
Terminating instance: UEFINotSupported: UEFI is not supported
Signed-off-by: Kevin Zhao <kevin.zhao@linaro.org>
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Change-Id: I1a5099e45ad4e8dc5e21ebdf25639ef938b16822
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/nova/nova-compute/Dockerfile.j2 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docker/nova/nova-compute/Dockerfile.j2 b/docker/nova/nova-compute/Dockerfile.j2 index 906c8f2b0..5b891c5a8 100644 --- a/docker/nova/nova-compute/Dockerfile.j2 +++ b/docker/nova/nova-compute/Dockerfile.j2 @@ -96,6 +96,12 @@ RUN rm -f /etc/nova/nova-compute.conf 'qemu-utils' ] %} + {% if base_arch == "aarch64" %} + {% set nova_compute_packages = nova_compute_packages + [ + 'qemu-efi' + ] %} + {% endif %} + # Debian/stretch uses rtslib-fb (like CentOS does) {% if base_distro == 'debian' %} {% set nova_compute_packages = nova_compute_packages + [ |
