Skip to content

Commit 9d3200b

Browse files
committed
build_library/qemu_template.sh: Add notes for swtpm init commands
For the swtpm version in Ubuntu some init command is required first.
1 parent 71866e4 commit 9d3200b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build_library/qemu_template.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ Options:
3030
-I FILE Set a custom image file.
3131
-M MB Set VM memory in MBs.
3232
-T DIR Add a software TPM2 device through swtpm which stores secrets
33-
and the control socket to the given directory.
33+
and the control socket to the given directory. This may need
34+
some configuration first with 'swtpm_setup --tpmstate DIR ...'
35+
(see https://github.com/stefanberger/swtpm/wiki/Certificates-created-by-swtpm_setup).
3436
-R FILE Set up pflash ro content, e.g., for UEFI (with -W).
3537
-W FILE Set up pflash rw content, e.g., for UEFI (with -R).
3638
-s Safe settings: single simple cpu and no KVM.

0 commit comments

Comments
 (0)