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