|
|
@ -40,6 +40,7 @@ function pretty_name() { |
|
|
|
android) PRETTY_NAME="Android x86";; |
|
|
|
android) PRETTY_NAME="Android x86";; |
|
|
|
archlinux) PRETTY_NAME="Arch Linux";; |
|
|
|
archlinux) PRETTY_NAME="Arch Linux";; |
|
|
|
arcolinux) PRETTY_NAME="Arco Linux";; |
|
|
|
arcolinux) PRETTY_NAME="Arco Linux";; |
|
|
|
|
|
|
|
cachyos) PRETTY_NAME="CachyOS";; |
|
|
|
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";; |
|
|
@ -143,6 +144,8 @@ function list_csv() { |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ]; then |
|
|
|
elif [[ "${OS}" == *"ubuntu"* ]] && [ "${RELEASE}" == "devel" ]; then |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
|
|
|
|
elif [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
elif [ "${OS}" == "garuda" ]; then |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
DOWNLOADER="${DL}" |
|
|
|
elif [[ "${OS}" == *"kdeneon"* ]]; then |
|
|
|
elif [[ "${OS}" == *"kdeneon"* ]]; then |
|
|
@ -181,6 +184,7 @@ function os_support() { |
|
|
|
android \ |
|
|
|
android \ |
|
|
|
archlinux \ |
|
|
|
archlinux \ |
|
|
|
arcolinux \ |
|
|
|
arcolinux \ |
|
|
|
|
|
|
|
cachyos \ |
|
|
|
debian \ |
|
|
|
debian \ |
|
|
|
elementary \ |
|
|
|
elementary \ |
|
|
|
freebsd \ |
|
|
|
freebsd \ |
|
|
@ -272,6 +276,9 @@ function releases_debian() { |
|
|
|
11.2.0-amd64-standard \ |
|
|
|
11.2.0-amd64-standard \ |
|
|
|
11.2.0-amd64-xfce |
|
|
|
11.2.0-amd64-xfce |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
function releases_cachyos() { |
|
|
|
|
|
|
|
echo 2022.01.09 |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function releases_elementary() { |
|
|
|
function releases_elementary() { |
|
|
|
echo 6.1 |
|
|
|
echo 6.1 |
|
|
@ -594,6 +601,9 @@ function make_vm_config() { |
|
|
|
elif [ "${OS}" == "debian" ]; then |
|
|
|
elif [ "${OS}" == "debian" ]; then |
|
|
|
GUEST="linux" |
|
|
|
GUEST="linux" |
|
|
|
IMAGE_TYPE="iso" |
|
|
|
IMAGE_TYPE="iso" |
|
|
|
|
|
|
|
elif [ "${OS}" == "cachyos" ]; then |
|
|
|
|
|
|
|
GUEST="linux" |
|
|
|
|
|
|
|
IMAGE_TYPE="iso" |
|
|
|
elif [ "${OS}" == "elementary" ]; then |
|
|
|
elif [ "${OS}" == "elementary" ]; then |
|
|
|
GUEST="linux" |
|
|
|
GUEST="linux" |
|
|
|
IMAGE_TYPE="iso" |
|
|
|
IMAGE_TYPE="iso" |
|
|
@ -701,6 +711,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 |
|
|
@ -842,6 +856,21 @@ function get_arcolinux() { |
|
|
|
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" |
|
|
|
|
|
|
|
ISO="cachyos-${RELEASE}-x86_64.iso" |
|
|
|
|
|
|
|
URL="https://mirror.cachyos.org/ISO" |
|
|
|
|
|
|
|
web_get "${URL}/${ISO}" "${VM_PATH}" |
|
|
|
|
|
|
|
make_vm_config "${ISO}" |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function get_debian() { |
|
|
|
function get_debian() { |
|
|
|
local HASH="" |
|
|
|
local HASH="" |
|
|
|
local ISO="" |
|
|
|
local ISO="" |
|
|
@ -1887,6 +1916,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 |
|
|
@ -1990,6 +2021,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}" == "kolibrios" ]; then |
|
|
|
elif [ "${OS}" == "kolibrios" ]; then |
|
|
|