Move config to..
This commit is contained in:
parent
033b900e49
commit
a972ac8322
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
10
quickget
10
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue