# Template file for 'openindiana' OSNAME="openindiana" PRETTY="OpenIndiana" LOGO="" ICON="openindiana.svg" ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/openindiana.png" CATEGORY="advanced" BASEDOF="Solaris OPenSolaris" HOMEPAGE="https://www.openindiana.org" DESCRIPTION="Community supported illumos-based operating system" CREDENTIALS="-" GPG="" RSS="" DW="" 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 config_() { echo "boot=\"legacy\"" >> "${CONF_FILE}" echo "disk_size=\"32G\"" >> "${CONF_FILE}" }