Skip to content

Commit 302a1e6

Browse files
authored
Merge pull request #13 from cgwalters/tpm2-default
libvirt: Enable a software TPM by default
2 parents d424316 + 7779121 commit 302a1e6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/vm/domain-template.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@
2525
<target bus="virtio" dev="vda"></target>
2626
<transient/>
2727
</disk>
28+
<tpm model='tpm-tis'>
29+
<backend type='emulator' version='2.0'>
30+
<active_pcr_banks>
31+
<sha256/>
32+
</active_pcr_banks>
33+
</backend>
34+
</tpm>
2835
{{.CloudInitCDRom}}
2936
</devices>
3037
<qemu:commandline>

0 commit comments

Comments
 (0)