bootstrap: prep for 13 correctly now
This commit is contained in:
parent
fd9253a926
commit
e4b8434731
|
@ -36,11 +36,11 @@ root certificates -> HTTPS -> OPNsense package fingerprints.
|
|||
What it will also do is turn a supported stock FreeBSD release into
|
||||
an OPNsense installation. Both UFS and ZFS installations are supported.
|
||||
|
||||
The usage is simple, starting with a FreeBSD 12.1-RELEASE image:
|
||||
The usage is simple, starting with a FreeBSD 13.0-RELEASE image:
|
||||
|
||||
# pkg install ca_root_nss
|
||||
# fetch https://raw.githubusercontent.com/opnsense/update/master/src/bootstrap/opnsense-bootstrap.sh.in
|
||||
# sh ./opnsense-bootstrap.sh.in -r 21.7
|
||||
# sh ./opnsense-bootstrap.sh.in -r 22.1
|
||||
|
||||
After successful reboot, OPNsense should be up and running. :)
|
||||
|
||||
|
|
|
@ -111,8 +111,8 @@ if [ "${FBSDARCH}" != "amd64" ]; then
|
|||
fi
|
||||
|
||||
FBSDVER=$(uname -r | colrm 4)
|
||||
if [ "${FBSDVER}" != "12." ]; then
|
||||
echo "Must be a FreeBSD 12 release." >&2
|
||||
if [ "${FBSDVER}" != "13." ]; then
|
||||
echo "Must be a FreeBSD 13 release." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue