mirror of
https://github.com/BastilleBSD/bastille.git
synced 2025-12-12 10:00:01 +01:00
Add support for FreeBSD 11.3-RELEASE
This commit is contained in:
@@ -318,6 +318,12 @@ HW_MACHINE_ARCH=$(sysctl hw.machine_arch | awk '{ print $2 }')
|
||||
|
||||
# Filter sane release names
|
||||
case "${1}" in
|
||||
11.3-RELEASE)
|
||||
RELEASE="${1}"
|
||||
UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/11.3-RELEASE/"
|
||||
bootstrap_directories
|
||||
bootstrap_release
|
||||
;;
|
||||
11.2-RELEASE)
|
||||
RELEASE="${1}"
|
||||
UPSTREAM_URL="http://ftp.freebsd.org/pub/FreeBSD/releases/${HW_MACHINE}/${HW_MACHINE_ARCH}/11.2-RELEASE/"
|
||||
|
||||
@@ -184,6 +184,9 @@ IP="$3"
|
||||
|
||||
## verify release
|
||||
case "${RELEASE}" in
|
||||
11.3-RELEASE|11.3-release)
|
||||
RELEASE="11.3-RELEASE"
|
||||
;;
|
||||
11.2-RELEASE|11.2-release)
|
||||
RELEASE="11.2-RELEASE"
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user