# Template file for 'openindiana' OSNAME="openindiana" PRETTY="OpenIndiana" ICON="" BASEDOF="Solaris OPenSolaris" HOMEPAGE="https://www.openindiana.org" DESCRIPTION="Community supported illumos-based operating system" CREDENTIALS="-" GUEST="solaris" function releases_() { #shellcheck disable=SC2046,SC2005 echo $(web_pipe "https://dlc.openindiana.org/isos/hipster/" | grep 'href="./2' | cut -d'/' -f 2 | sort -r | 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}" }