Make NetBSD releases dynamic

This obsoletes #675 but in case that gets closed
here's an attempt to acknowlege a valuable heads-up.

Co-authored-by: Kurt Kremitzki <kremitzki@users.noreply.github.com>
This commit is contained in:
Phil Clifford 2023-03-15 19:25:38 +00:00
parent c69fa6b430
commit 89ac04853b
No known key found for this signature in database
GPG Key ID: 3B0A3BA167A07F7D

View File

@ -439,7 +439,8 @@ function releases_netboot() {
}
function releases_netbsd() {
echo 9.0 9.1 9.2
local NBSD_RELEASES=$(curl -sL http://cdn.netbsd.org/pub/NetBSD/iso/ | grep -o -E '\"[[:digit:]]+\.[[:digit:]]+/\"' |tr -d '"/' |sort -nr )
echo ${NBSD_RELEASES}
}
function releases_nixos(){