Move config to..

This commit is contained in:
zenobit 2025-02-18 03:39:52 +01:00
parent 91ff63c562
commit 475e1f4899
2 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,7 @@ BASEDOF="-"
HOMEPAGE="https://www.netbsd.org"
DESCRIPTION="Free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices"
CREDENTIALS="-"
GUEST="netbsd"
function releases_() {
# V8 is EOL so filter it out
@ -19,3 +20,7 @@ function get_() {
HASH=$(web_pipe "${URL}/MD5" | grep "${ISO}" | cut -d' ' -f4)
echo "${URL}/${ISO} ${HASH}"
}
function specific_tweaks() {
echo "boot=\"legacy\"" >> "${CONF_FILE}"
}

View File

@ -573,9 +573,6 @@ function make_vm_config() {
custom)
GUEST="${CUSTOM_OS}"
IMAGE_TYPE="${CUSTOM_IMAGE_TYPE}";;
netbsd)
GUEST="netbsd"
IMAGE_TYPE="iso";;
openbsd)
GUEST="openbsd"
IMAGE_TYPE="iso";;