|
|
@ -39,6 +39,7 @@ function pretty_name() { |
|
|
|
elementary) PRETTY_NAME="elementary OS";; |
|
|
|
elementary) PRETTY_NAME="elementary OS";; |
|
|
|
freebsd) PRETTY_NAME="FreeBSD";; |
|
|
|
freebsd) PRETTY_NAME="FreeBSD";; |
|
|
|
garuda) PRETTY_NAME="Garuda Linux";; |
|
|
|
garuda) PRETTY_NAME="Garuda Linux";; |
|
|
|
|
|
|
|
cachyos) PRETTY_NAME="CachyOS";; |
|
|
|
kdeneon) PRETTY_NAME="KDE Neon";; |
|
|
|
kdeneon) PRETTY_NAME="KDE Neon";; |
|
|
|
linuxmint-cinnamon) PRETTY_NAME="Linux Mint Cinnamon";; |
|
|
|
linuxmint-cinnamon) PRETTY_NAME="Linux Mint Cinnamon";; |
|
|
|
linuxmint-mate) PRETTY_NAME="Linux Mint MATE";; |
|
|
|
linuxmint-mate) PRETTY_NAME="Linux Mint MATE";; |
|
|
@ -126,6 +127,8 @@ function list_csv() { |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
|
|
|
|
elif [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [[ "${OS}" == *"kdeneon"* ]]; then |
|
|
|
elif [[ "${OS}" == *"kdeneon"* ]]; then |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
else |
|
|
|
else |
|
|
@ -155,6 +158,7 @@ function os_support() { |
|
|
|
freebsd \ |
|
|
|
freebsd \ |
|
|
|
fedora \ |
|
|
|
fedora \ |
|
|
|
garuda \ |
|
|
|
garuda \ |
|
|
|
|
|
|
|
cachyos \ |
|
|
|
kali \ |
|
|
|
kali \ |
|
|
|
kdeneon \ |
|
|
|
kdeneon \ |
|
|
|
kubuntu \ |
|
|
|
kubuntu \ |
|
|
@ -229,6 +233,10 @@ function releases_garuda() { |
|
|
|
cinnamon |
|
|
|
cinnamon |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function releases_cachyos() { |
|
|
|
|
|
|
|
echo 2021.11.10 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function releases_kali() { |
|
|
|
function releases_kali() { |
|
|
|
echo latest \ |
|
|
|
echo latest \ |
|
|
|
weekly |
|
|
|
weekly |
|
|
@ -680,6 +688,9 @@ function make_vm_config() { |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
GUEST="linux" |
|
|
|
GUEST="linux" |
|
|
|
IMAGE_TYPE="iso" |
|
|
|
IMAGE_TYPE="iso" |
|
|
|
|
|
|
|
elif [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
GUEST="linux" |
|
|
|
|
|
|
|
IMAGE_TYPE="iso" |
|
|
|
elif [ "${OS}" == "kdeneon" ]; then |
|
|
|
elif [ "${OS}" == "kdeneon" ]; then |
|
|
|
GUEST="linux" |
|
|
|
GUEST="linux" |
|
|
|
IMAGE_TYPE="iso" |
|
|
|
IMAGE_TYPE="iso" |
|
|
@ -740,6 +751,10 @@ EOF |
|
|
|
echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
echo "macos_release=\"${RELEASE}\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ "${OS}" == "garuda" ]; then |
|
|
|
if [ "${OS}" == "garuda" ]; then |
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
echo "disk_size=\"32G\"" >> "${OS}-${RELEASE}.conf" |
|
|
|
fi |
|
|
|
fi |
|
|
@ -810,6 +825,19 @@ function get_archlinux() { |
|
|
|
make_vm_config "${ISO}" |
|
|
|
make_vm_config "${ISO}" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function get_cachyos() { |
|
|
|
|
|
|
|
local HASH="" |
|
|
|
|
|
|
|
local ISO="" |
|
|
|
|
|
|
|
local URL="" |
|
|
|
|
|
|
|
local VERSION="" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
validate_release "releases_cachyos" |
|
|
|
|
|
|
|
ISO="cachyos-cli-${RELEASE}-x86_64.iso" |
|
|
|
|
|
|
|
URL="https://deac-fra.dl.sourceforge.net/project/cachyos-arch/cli-installer" |
|
|
|
|
|
|
|
web_get "${URL}/${ISO}" "${VM_PATH}" |
|
|
|
|
|
|
|
make_vm_config "${ISO}" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function get_elementary() { |
|
|
|
function get_elementary() { |
|
|
|
local ISO="" |
|
|
|
local ISO="" |
|
|
|
local URL="" |
|
|
|
local URL="" |
|
|
@ -1349,6 +1377,8 @@ if [ -n "${2}" ]; then |
|
|
|
get_fedora |
|
|
|
get_fedora |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
get_garuda |
|
|
|
get_garuda |
|
|
|
|
|
|
|
elif [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
get_cachyos |
|
|
|
elif [ "${OS}" == "kali" ]; then |
|
|
|
elif [ "${OS}" == "kali" ]; then |
|
|
|
get_kali |
|
|
|
get_kali |
|
|
|
elif [ "${OS}" == "kdeneon" ]; then |
|
|
|
elif [ "${OS}" == "kdeneon" ]; then |
|
|
@ -1434,6 +1464,8 @@ else |
|
|
|
releases_fedora |
|
|
|
releases_fedora |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
releases_garuda |
|
|
|
releases_garuda |
|
|
|
|
|
|
|
elif [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
releases_cachyos |
|
|
|
elif [ "${OS}" == "kali" ]; then |
|
|
|
elif [ "${OS}" == "kali" ]; then |
|
|
|
releases_kali |
|
|
|
releases_kali |
|
|
|
elif [[ "${OS}" == *"linuxmint-"* ]]; then |
|
|
|
elif [[ "${OS}" == *"linuxmint-"* ]]; then |
|
|
|