quickemu/public/openindiana

37 lines
980 B
Plaintext

# Template file for 'openindiana'
OSNAME="openindiana"
PRETTY="OpenIndiana"
BASEDOF="Solaris OPenSolaris"
DESCRIPTION="Community supported illumos-based operating system"
HOMEPAGE="https://www.openindiana.org"
CREDENTIALS="-"
solaris
RELEASES="20241026 20240426 20231027 20230502 20230421"
EDITIONS="text minimal gui"
function releases_() {
#shellcheck disable=SC2046,SC2005
echo $(web_pipe "https://dlc.openindiana.org/isos/hipster/" | grep link | cut -d'/' -f 1 | cut -d '"' -f4 | sort -r | tail -n +2 | head -n 5)
}
function editions_() {
echo gui text minimal
}
function get_() {
local HASH=""
local ISO=""
local URL=""
URL="https://dlc.openindiana.org/isos/hipster/${RELEASE}"
ISO="OI-hipster-${EDITION}-${RELEASE}.iso"
HASH=$(web_pipe "${URL}/${ISO}.sha256" |cut -d' ' -f1)
echo "${URL}/${ISO} ${HASH}"
}
function specific_tweaks() {
echo "boot=\"legacy\"" >> "${CONF_FILE}"
echo "disk_size=\"32G\"" >> "${CONF_FILE}"
}