Skip to content

Commit

Permalink
Merge pull request #13 from cgwalters/tpm2-default
Browse files Browse the repository at this point in the history
libvirt: Enable a software TPM by default
  • Loading branch information
ckyrouac authored Apr 26, 2024
2 parents d424316 + 7779121 commit 302a1e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/vm/domain-template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@
<target bus="virtio" dev="vda"></target>
<transient/>
</disk>
<tpm model='tpm-tis'>
<backend type='emulator' version='2.0'>
<active_pcr_banks>
<sha256/>
</active_pcr_banks>
</backend>
</tpm>
{{.CloudInitCDRom}}
</devices>
<qemu:commandline>
Expand Down

0 comments on commit 302a1e6

Please sign in to comment.