diff --git a/actions/truenas-core b/actions/truenas-core index 172bed0..4748241 100644 --- a/actions/truenas-core +++ b/actions/truenas-core @@ -5,6 +5,7 @@ BASEDOF="FreeBSD" HOMEPAGE="https://www.truenas.com/truenas-core" DESCRIPTION="World’s most popular storage OS because it gives you the power to build your own professional-grade storage system to use in a variety of data-intensive applications without any software costs" CREDENTIALS="-" +GUEST="truenas" function releases_() { echo 13 @@ -18,3 +19,11 @@ function get_() { HASH=$(web_pipe "${URL}".sha256 | cut -d' ' -f1) echo "${URL} ${HASH}" } + +function specific_tweaks() { + echo "boot=\"legacy\"" >> "${CONF_FILE}" + # the rest is non-functional + # echo "bootdrive_size=\"5G\"" >> "${CONF_FILE}" # boot drive + # echo "1stdrive_size=\"20G\"" >> "${CONF_FILE}" # for testing + # echo "2nddrive_size=\"20G\"" >> "${CONF_FILE}" # again, for testing +} diff --git a/actions/truenas-scale b/actions/truenas-scale index 996a248..d17e539 100644 --- a/actions/truenas-scale +++ b/actions/truenas-scale @@ -5,6 +5,7 @@ BASEDOF="Debian" HOMEPAGE="https://www.truenas.com/truenas-scale" DESCRIPTION="Open Source Hyperconverged Infrastructure (HCI) solution. In addition to powerful scale-out storage capabilities, SCALE adds Linux Containers and VMs (KVM) so apps run closer to data" CREDENTIALS="-" +GUEST="truenas" function releases_() { echo 24 @@ -19,3 +20,11 @@ function get_() { HASH=$(web_pipe "${URL}.sha256" | cut -d' ' -f1) echo "${URL} ${HASH}" } + +function specific_tweaks() { + echo "boot=\"legacy\"" >> "${CONF_FILE}" + # the rest is non-functional + # echo "bootdrive_size=\"5G\"" >> "${CONF_FILE}" # boot drive + # echo "1stdrive_size=\"20G\"" >> "${CONF_FILE}" # for testing + # echo "2nddrive_size=\"20G\"" >> "${CONF_FILE}" # again, for testing +} diff --git a/quickget b/quickget index 567e48a..23f8e42 100755 --- a/quickget +++ b/quickget @@ -591,9 +591,6 @@ function make_vm_config() { openindiana) GUEST="solaris" IMAGE_TYPE="iso";; - truenas*) - GUEST="truenas" - IMAGE_TYPE="iso";; ubuntu*) GUEST="linux" IMAGE_TYPE="iso" @@ -643,13 +640,6 @@ EOF slint) echo "disk_size=\"50G\"" >> "${CONF_FILE}" ;; - truenas-scale|truenas-core) - echo "boot=\"legacy\"" >> "${CONF_FILE}" - # the rest is non-functional - # echo "bootdrive_size=\"5G\"" >> "${CONF_FILE}" # boot drive - # echo "1stdrive_size=\"20G\"" >> "${CONF_FILE}" # for testing - # echo "2nddrive_size=\"20G\"" >> "${CONF_FILE}" # again, for testing - ;; ubuntu-server) # 22.04+ fails on LVM build if disk size is < 10G # 22.04.1 fails on auto-install if TPM is disabled