mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Rename swtpm socket
This commit is contained in:
parent
6e851ff1c8
commit
c5efb7d79d
1 changed files with 2 additions and 2 deletions
4
quickemu
4
quickemu
|
@ -901,9 +901,9 @@ function vm_boot() {
|
||||||
${USB_PASSTHROUGH})
|
${USB_PASSTHROUGH})
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${tpm}" == "on" ] && [ -S "${VMDIR}/${VMNAME}.swtpm-sock" ]; then
|
if [ "${tpm}" == "on" ] && [ -S "${VMDIR}/${VMNAME}-swtpm.sock" ]; then
|
||||||
# shellcheck disable=SC2054
|
# shellcheck disable=SC2054
|
||||||
args+=(-chardev socket,id=chrtpm,path="${VMDIR}/${VMNAME}.swtpm-sock"
|
args+=(-chardev socket,id=chrtpm,path="${VMDIR}/${VMNAME}-swtpm.sock"
|
||||||
-tpmdev emulator,id=tpm0,chardev=chrtpm
|
-tpmdev emulator,id=tpm0,chardev=chrtpm
|
||||||
-device tpm-tis,tpmdev=tpm0)
|
-device tpm-tis,tpmdev=tpm0)
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue