|
|
@ -670,58 +670,11 @@ EOF |
|
|
|
echo "fixed_iso=\"${VM_PATH}/${ISO_FILE}\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
echo "fixed_iso=\"${VM_PATH}/${ISO_FILE}\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "alma" ] && [ "${ISOTYPE}" == "dvd" ]; then |
|
|
|
case ${OS} in |
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
alma|cachyos|garuda|oraclelinux|rockylinux|void|zorin) echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf";; |
|
|
|
fi |
|
|
|
haiku|kolibrios|openbsd|slackware|tails) echo "boot=\"legacy\"" >> "${OS}-${RELEASE}.conf";; |
|
|
|
|
|
|
|
macos) echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf";; |
|
|
|
if [ "${OS}" == "kolibrios" ]; then |
|
|
|
|
|
|
|
echo "boot=\"legacy\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "openbsd" ]; then |
|
|
|
|
|
|
|
echo "boot=\"legacy\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "tails" ]; then |
|
|
|
|
|
|
|
echo "boot=\"legacy\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "macos" ]; then |
|
|
|
|
|
|
|
echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "garuda" ]; then |
|
|
|
|
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "slackware" ]; then |
|
|
|
|
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
echo "boot=\"legacy\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "haiku" ]; then |
|
|
|
|
|
|
|
echo "boot=\"legacy\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "oraclelinux" ]; then |
|
|
|
|
|
|
|
echo "disk_size=\"20G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "void" ]; then |
|
|
|
|
|
|
|
echo "disk_size=\"20G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "zorin" ]; then |
|
|
|
|
|
|
|
case ${RELEASE} in |
|
|
|
|
|
|
|
15education64|15edulite64|15edulite32) |
|
|
|
|
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf";; |
|
|
|
|
|
|
|
esac |
|
|
|
esac |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Enable TPM for Windows 11 |
|
|
|
# Enable TPM for Windows 11 |
|
|
|
if [ "${OS}" == "windows" ] && [ "${RELEASE}" -ge 11 ]; then |
|
|
|
if [ "${OS}" == "windows" ] && [ "${RELEASE}" -ge 11 ]; then |
|
|
|