DistroHopper/templates/vanillaos
2026-05-27 17:00:06 +02:00

34 lines
1 KiB
Text

# Template file for 'vanillaos'
OSNAME="vanillaos"
PRETTY="Vanilla OS"
LOGO=" "
ICON="vanilla.svg"
ICON_ONLINE="https://distrowatch.com/images/yvzhuwbpy/vanilla.png"
CATEGORY="Desktop, Immutable, Live Medium"
BASEDOF="Ubuntu"
HOMEPAGE="https://vanillaos.org"
DESCRIPTION="Designed to be a reliable and productive operating system for your daily work"
CREDENTIALS="-"
GPG=""
RSS=""
DW=""
function releases_() {
#shellcheck disable=SC2046,SC2005
web_pipe "https://api.github.com/repos/Vanilla-OS/live-iso/releases" | grep 'download_url' | cut -d'/' -f8 | sort -ru
}
function get_() {
local HASH=""
local HASH_URL=""
local ISO=""
ISO=$(web_pipe "https://api.github.com/repos/Vanilla-OS/live-iso/releases" | grep 'download_url' | grep "${RELEASE}" | head -n 1 | cut -d'"' -f4)
HASH_URL="${ISO//.iso/.sha256.txt}"
HASH=$(web_pipe "${HASH_URL}" | cut -d' ' -f1)
echo "${ISO} ${HASH}"
}
function config_() {
## Minimum is 50G for abroot, but a 64GB is allocated to give some headroom
echo "disk_size=\"64G\"" >> "${CONF_FILE}"
}