mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-24 20:02:35 +03:00
Reduce matching error for TPM result
This commit is contained in:
parent
6242a0be80
commit
355b97398b
@ -1197,7 +1197,7 @@ class QemuVM(BaseNode):
|
|||||||
qemu_stdout = self.read_stdout()
|
qemu_stdout = self.read_stdout()
|
||||||
# additional permissions need to be configured for swtpm in AppArmor if the working dir
|
# 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
|
# 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)
|
partition = self._find_partition_for_path(self.project.path)
|
||||||
if partition and partition.mountpoint != "/":
|
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." \
|
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." \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user