specific_tweaks and distro_specific

This commit is contained in:
zenobit 2025-03-01 07:10:53 +01:00
parent 3ecae69193
commit 8d53d06fe0
1 changed files with 3 additions and 9 deletions

View File

@ -598,11 +598,8 @@ EOF
fi fi
# OS specific tweaks # OS specific tweaks
. "actions/${OS}" #. "actions/${OS}"
if [ ! "specific_tweaks" 2>/dev/null ]; then #specific_tweaks 2>/dev/null
echo $"#TODO: Nothing special"
fi
specific_tweaks || echo $"#TODO: Nothing special"
if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"* ]]; then if [ "${OS}" == "ubuntu" ] && [[ ${RELEASE} == *"daily"* ]]; then
# Minimum to install lobster testing is 18GB but 32GB are allocated for headroom # Minimum to install lobster testing is 18GB but 32GB are allocated for headroom
echo "disk_size=\"32G\"" >> "${CONF_FILE}" echo "disk_size=\"32G\"" >> "${CONF_FILE}"
@ -659,12 +656,9 @@ function create_vm() {
if [ -n "${HASH}" ]; then if [ -n "${HASH}" ]; then
check_hash "${ISO}" "${HASH}" check_hash "${ISO}" "${HASH}"
fi fi
# shellcheck disable=SC2076 # shellcheck disable=SC2076
. "actions/${OS}" . "actions/${OS}"
if [ ! "distro_specific" 2>/dev/null ]; then "distro_specific" 2>/dev/null
echo $"#TODO: Nothing special"
fi
make_vm_config "${ISO}" make_vm_config "${ISO}"
} }