From 8d209901fa86c58eee45502f3bb8e9ee7c84a885 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 15 Sep 2022 16:13:12 +0200 Subject: nova-libvirt: provide TPM emulation The goal of the swtpm project is to provide a TPM emulator (TPM 1.2 & TPM 2) that can be integrated into virtualized environments, such as virtual machines and containers. Nova supports it for quite a while: https://review.opendev.org/c/openstack/nova/+/631363 Change-Id: Ifb7e0f1632805807851720873a70179218bdf372 --- docker/nova/nova-libvirt/Dockerfile.j2 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'docker') diff --git a/docker/nova/nova-libvirt/Dockerfile.j2 b/docker/nova/nova-libvirt/Dockerfile.j2 index 100b0c2d6..5fbf0ca6d 100644 --- a/docker/nova/nova-libvirt/Dockerfile.j2 +++ b/docker/nova/nova-libvirt/Dockerfile.j2 @@ -25,6 +25,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'openvswitch', 'qemu-img', 'qemu-kvm', + 'swtpm', ] %} {% if base_arch == 'x86_64' %} {% set nova_libvirt_packages = nova_libvirt_packages + [ @@ -53,6 +54,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build 'qemu-system', 'qemu-utils', 'sasl2-bin', + 'swtpm', 'trousers' ] %} -- cgit v1.2.3