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 committed by Martin Wimpress
parent c4b71195c1
commit ecdfa193a3
1 changed files with 2 additions and 1 deletions

View File

@ -445,7 +445,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(){