From: Daan De Meyer Date: Wed, 18 Feb 2026 13:18:44 +0000 (+0100) Subject: vmspawn: Set --tpm-state=off X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bccd36e98da1fefc004f26aeba4cea48cce8368;p=thirdparty%2Fmkosi.git vmspawn: Set --tpm-state=off Otherwise we'll leave the tpm state lingering around. For now let's disable tpm state saving. --- diff --git a/mkosi/vmspawn.py b/mkosi/vmspawn.py index c93f9453f..36217c339 100644 --- a/mkosi/vmspawn.py +++ b/mkosi/vmspawn.py @@ -58,6 +58,7 @@ def run_vmspawn(args: Args, config: Config) -> None: "--kvm", config.kvm.to_tristate(), "--vsock", config.vsock.to_tristate(), "--tpm", config.tpm.to_tristate(), + "--tpm-state=off", "--secure-boot", yes_no(config.secure_boot), "--console", str(config.console), ] # fmt: skip