mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Added initial support for TrueNAS
This commit is contained in:
parent
d2a7eff80e
commit
66c5ff86b7
1 changed files with 23 additions and 1 deletions
24
quickget
24
quickget
|
@ -487,7 +487,7 @@ function editions_truenas() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function releases_truenas() {
|
function releases_truenas() {
|
||||||
|
echo 22.12 13.0
|
||||||
}
|
}
|
||||||
|
|
||||||
function releases_ubuntu() {
|
function releases_ubuntu() {
|
||||||
|
@ -759,6 +759,9 @@ function make_vm_config() {
|
||||||
reactos)
|
reactos)
|
||||||
GUEST="reactos"
|
GUEST="reactos"
|
||||||
IMAGE_TYPE="iso";;
|
IMAGE_TYPE="iso";;
|
||||||
|
truenas)
|
||||||
|
GUEST="truenas"
|
||||||
|
IMAGE_TYPE="iso";;
|
||||||
windows)
|
windows)
|
||||||
GUEST="windows"
|
GUEST="windows"
|
||||||
IMAGE_TYPE="iso";;
|
IMAGE_TYPE="iso";;
|
||||||
|
@ -809,6 +812,13 @@ EOF
|
||||||
echo "disk_size=\"2G\"" >> "${CONF_FILE}"
|
echo "disk_size=\"2G\"" >> "${CONF_FILE}"
|
||||||
echo "ram=\"128M\"" >> "${CONF_FILE}"
|
echo "ram=\"128M\"" >> "${CONF_FILE}"
|
||||||
;;
|
;;
|
||||||
|
truenas)
|
||||||
|
echo
|
||||||
|
echo "boot=\"legacy\"" >> "${CONF_FILE}"
|
||||||
|
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
|
||||||
|
;;
|
||||||
zorin)
|
zorin)
|
||||||
case ${EDITION} in
|
case ${EDITION} in
|
||||||
education64|edulite64)
|
education64|edulite64)
|
||||||
|
@ -1453,6 +1463,18 @@ function get_tails() {
|
||||||
echo "${URL} ${HASH}"
|
echo "${URL} ${HASH}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function get_truenas() {
|
||||||
|
local ISO=""
|
||||||
|
local URL=""
|
||||||
|
|
||||||
|
if [[ "${RELEASE}" == "13.0"* ]] && [ "${OS}" == "CORE" ]; then
|
||||||
|
URL="$(wget https://download.freenas.org/13.0/STABLE/U3.1/x64/${OS}.iso)"
|
||||||
|
|
||||||
|
elif [[ "${RELEASE}" == "22.12"]] && [ "${OS}" == "SCALE"]; then
|
||||||
|
URL="$(https://download.truenas.com/TrueNAS-SCALE-Bluefin/${RELEASE}.0/TrueNAS-${OS}-22.12.0.iso)"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
function get_ubuntu() {
|
function get_ubuntu() {
|
||||||
local ISO=""
|
local ISO=""
|
||||||
local HASH=""
|
local HASH=""
|
||||||
|
|
Loading…
Reference in a new issue