Update bastille config
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
======================
|
======================
|
||||||
Version Description
|
Version Description
|
||||||
|
|
||||||
|
1.1.35......Update bastille config.
|
||||||
1.1.34......Add option to create externally bridged vnet jails thought the webgui.
|
1.1.34......Add option to create externally bridged vnet jails thought the webgui.
|
||||||
1.1.33......Update: Add support for 14.0 and 14.1 releases.
|
1.1.33......Update: Add support for 14.0 and 14.1 releases.
|
||||||
1.1.32......Update release list, tarballs.php to include 13.3.
|
1.1.32......Update release list, tarballs.php to include 13.3.
|
||||||
|
|||||||
@@ -1175,6 +1175,9 @@ rc_params()
|
|||||||
if ! sysrc -f ${BASTILLECONF} -qc bastille_decompress_gz_options; then
|
if ! sysrc -f ${BASTILLECONF} -qc bastille_decompress_gz_options; then
|
||||||
sysrc -f ${BASTILLECONF} bastille_decompress_gz_options="-k -d -c -v" >/dev/null 2>&1
|
sysrc -f ${BASTILLECONF} bastille_decompress_gz_options="-k -d -c -v" >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
if ! sysrc -f ${BASTILLECONF} -qc bastille_pf_conf; then
|
||||||
|
sysrc -f ${BASTILLECONF} bastille_pf_conf="/etc/pf.conf" >/dev/null 2>&1
|
||||||
|
fi
|
||||||
|
|
||||||
# Set bastille.conf location.
|
# Set bastille.conf location.
|
||||||
if ! sysrc -f ${CWDIR}${EXTCONF} -n BASTILLE_CONFIG 2>/dev/null | grep -q "${CWDIR}/${FULLAPPNAME}${BASTILLECONF}"; then
|
if ! sysrc -f ${CWDIR}${EXTCONF} -n BASTILLE_CONFIG 2>/dev/null | grep -q "${CWDIR}/${FULLAPPNAME}${BASTILLECONF}"; then
|
||||||
|
|||||||
@@ -5,6 +5,7 @@ bastille_jailsdir="${bastille_prefix}/jails"
|
|||||||
bastille_releasesdir="${bastille_prefix}/releases"
|
bastille_releasesdir="${bastille_prefix}/releases"
|
||||||
bastille_templatesdir="${bastille_prefix}/templates"
|
bastille_templatesdir="${bastille_prefix}/templates"
|
||||||
bastille_logsdir="${bastille_prefix}/logs"
|
bastille_logsdir="${bastille_prefix}/logs"
|
||||||
|
bastille_pf_conf="/etc/pf.conf"
|
||||||
bastille_sharedir="/usr/local/share/bastille"
|
bastille_sharedir="/usr/local/share/bastille"
|
||||||
bastille_bootstrap_archives="base"
|
bastille_bootstrap_archives="base"
|
||||||
bastille_tzdata="etc/UTC"
|
bastille_tzdata="etc/UTC"
|
||||||
|
|||||||
@@ -11,6 +11,9 @@ bastille_releasesdir="${bastille_prefix}/releases" ## default
|
|||||||
bastille_templatesdir="${bastille_prefix}/templates" ## default: "${bastille_prefix}/templates"
|
bastille_templatesdir="${bastille_prefix}/templates" ## default: "${bastille_prefix}/templates"
|
||||||
bastille_logsdir="/var/log/bastille" ## default: "/var/log/bastille"
|
bastille_logsdir="/var/log/bastille" ## default: "/var/log/bastille"
|
||||||
|
|
||||||
|
## pf configuration path
|
||||||
|
bastille_pf_conf="/etc/pf.conf" ## default: "/etc/pf.conf"
|
||||||
|
|
||||||
## bastille scripts directory (assumed by bastille pkg)
|
## bastille scripts directory (assumed by bastille pkg)
|
||||||
bastille_sharedir="/usr/local/share/bastille" ## default: "/usr/local/share/bastille"
|
bastille_sharedir="/usr/local/share/bastille" ## default: "/usr/local/share/bastille"
|
||||||
|
|
||||||
@@ -30,9 +33,6 @@ bastille_tzdata="" ## default
|
|||||||
## default jail resolv.conf
|
## default jail resolv.conf
|
||||||
bastille_resolv_conf="/etc/resolv.conf" ## default: "/etc/resolv.conf"
|
bastille_resolv_conf="/etc/resolv.conf" ## default: "/etc/resolv.conf"
|
||||||
|
|
||||||
## default output colors
|
|
||||||
bastille_colors_enable="" ## default: "YES"
|
|
||||||
|
|
||||||
## bootstrap urls
|
## bootstrap urls
|
||||||
bastille_url_freebsd="http://ftp.freebsd.org/pub/FreeBSD/releases/" ## default: "http://ftp.freebsd.org/pub/FreeBSD/releases/"
|
bastille_url_freebsd="http://ftp.freebsd.org/pub/FreeBSD/releases/" ## default: "http://ftp.freebsd.org/pub/FreeBSD/releases/"
|
||||||
bastille_url_hardenedbsd="https://installers.hardenedbsd.org/pub/" ## default: "https://installer.hardenedbsd.org/pub/HardenedBSD/releases/"
|
bastille_url_hardenedbsd="https://installers.hardenedbsd.org/pub/" ## default: "https://installer.hardenedbsd.org/pub/HardenedBSD/releases/"
|
||||||
@@ -41,7 +41,7 @@ bastille_url_midnightbsd="https://www.midnightbsd.org/ftp/MidnightBSD/releases/"
|
|||||||
## ZFS options
|
## ZFS options
|
||||||
bastille_zfs_enable="" ## default: ""
|
bastille_zfs_enable="" ## default: ""
|
||||||
bastille_zfs_zpool="" ## default: ""
|
bastille_zfs_zpool="" ## default: ""
|
||||||
bastille_zfs_prefix="bastille" ## default: "${bastille_zfs_zpool}/bastille"
|
bastille_zfs_prefix="${bastille_zfs_zpool}/bastille" ## default: "${bastille_zfs_zpool}/bastille"
|
||||||
bastille_zfs_options="-o compress=lz4 -o atime=off" ## default: "-o compress=lz4 -o atime=off"
|
bastille_zfs_options="-o compress=lz4 -o atime=off" ## default: "-o compress=lz4 -o atime=off"
|
||||||
|
|
||||||
## Export/Import options
|
## Export/Import options
|
||||||
@@ -49,6 +49,7 @@ bastille_compress_xz_options="-0 -v" ## default
|
|||||||
bastille_decompress_xz_options="-c -d -v" ## default "-c -d -v"
|
bastille_decompress_xz_options="-c -d -v" ## default "-c -d -v"
|
||||||
bastille_compress_gz_options="-1 -v" ## default "-1 -v"
|
bastille_compress_gz_options="-1 -v" ## default "-1 -v"
|
||||||
bastille_decompress_gz_options="-k -d -c -v" ## default "-k -d -c -v"
|
bastille_decompress_gz_options="-k -d -c -v" ## default "-k -d -c -v"
|
||||||
|
bastille_export_options="" ## default "" predefined export options, e.g. "--safe --gz"
|
||||||
|
|
||||||
## Networking
|
## Networking
|
||||||
bastille_network_loopback="bastille0" ## default: "bastille0"
|
bastille_network_loopback="bastille0" ## default: "bastille0"
|
||||||
|
|||||||
Reference in New Issue
Block a user