refactor: add quoting to tpm condition for window 11
This commit is contained in:
parent
e18b7ed591
commit
6a4705e365
2
quickget
2
quickget
|
@ -1532,7 +1532,7 @@ EOF
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Enable TPM for Windows 11
|
# Enable TPM for Windows 11
|
||||||
if [ "${OS}" == "windows" ] && [ "${RELEASE}" == 11 ] || [ "${OS}" == "windows-server" ] && [ "${RELEASE}" == "2022" ]; then
|
if [ "${OS}" == "windows" ] && [ "${RELEASE}" == "11" ] || [ "${OS}" == "windows-server" ] && [ "${RELEASE}" == "2022" ]; then
|
||||||
echo "tpm=\"on\"" >> "${CONF_FILE}"
|
echo "tpm=\"on\"" >> "${CONF_FILE}"
|
||||||
echo "secureboot=\"off\"" >> "${CONF_FILE}"
|
echo "secureboot=\"off\"" >> "${CONF_FILE}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue