Adding Configuration Workarounds for Ubuntu Server
Ubuntu Server (the live server versions) require minimum disk sizes for LVM and 22.04+ won't boot / reboot successfully without TPM.
This commit is contained in:
parent
7897974b74
commit
80c668cf1e
9
quickget
9
quickget
@ -780,6 +780,15 @@ EOF
|
||||
echo "disk_size=\"2G\"" >> "${CONF_FILE}"
|
||||
echo "ram=\"128M\"" >> "${CONF_FILE}"
|
||||
;;
|
||||
ubuntuserver)
|
||||
# 22.04+ fails on LVM build if disk size is < 10G
|
||||
# 22.04.1 fails on auto-install if TPM is disabled
|
||||
echo "disk_size=\"10G\"" >> "${CONF_FILE}"
|
||||
echo "ram=\"4G\"" >> "${CONF_FILE}"
|
||||
if [[ "${RELEASE}" == *"22.04"* ]]; then
|
||||
echo "tpm=\"on\"" >> "${CONF_FILE}"
|
||||
fi
|
||||
;;
|
||||
zorin)
|
||||
case ${EDITION} in
|
||||
education64|edulite64)
|
||||
|
Loading…
Reference in New Issue
Block a user