From 355b97398bbd8465cbdc4524ce5cf8a100013731 Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 18 Apr 2025 15:13:41 +0700 Subject: [PATCH] Reduce matching error for TPM result --- gns3server/compute/qemu/qemu_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/qemu/qemu_vm.py b/gns3server/compute/qemu/qemu_vm.py index f54333ba..7c47f1c8 100644 --- a/gns3server/compute/qemu/qemu_vm.py +++ b/gns3server/compute/qemu/qemu_vm.py @@ -1197,7 +1197,7 @@ class QemuVM(BaseNode): qemu_stdout = self.read_stdout() # additional permissions need to be configured for swtpm in AppArmor if the working dir # is located on a different partition than the partition for the root directory - if "TPM result for CMD_INIT: 0x9 operation failed" in qemu_stdout: + if "TPM result for CMD_INIT" in qemu_stdout: partition = self._find_partition_for_path(self.project.path) if partition and partition.mountpoint != "/": qemu_stdout += "\n\nTPM error: the project directory is not on the same partition as the root directory which can be a problem when using AppArmor." \