2019-06-22 09:55:28 -06:00
|
|
|
#####################
|
2018-11-07 10:36:54 -07:00
|
|
|
## [ BastilleBSD ] ##
|
|
|
|
|
#####################
|
|
|
|
|
|
|
|
|
|
## default paths
|
2020-04-25 08:26:12 -04:00
|
|
|
bastille_prefix="/usr/local/bastille" ## default: "/usr/local/bastille"
|
2020-04-25 08:43:59 -04:00
|
|
|
bastille_backupsdir="${bastille_prefix}/backups" ## default: "${bastille_prefix}/backups"
|
|
|
|
|
bastille_cachedir="${bastille_prefix}/cache" ## default: "${bastille_prefix}/cache"
|
|
|
|
|
bastille_jailsdir="${bastille_prefix}/jails" ## default: "${bastille_prefix}/jails"
|
|
|
|
|
bastille_releasesdir="${bastille_prefix}/releases" ## default: "${bastille_prefix}/releases"
|
|
|
|
|
bastille_templatesdir="${bastille_prefix}/templates" ## default: "${bastille_prefix}/templates"
|
2020-07-10 08:18:21 -06:00
|
|
|
bastille_logsdir="/var/log/bastille" ## default: "/var/log/bastille"
|
2019-06-22 09:55:28 -06:00
|
|
|
|
|
|
|
|
## bastille scripts directory (assumed by bastille pkg)
|
2020-04-25 08:26:12 -04:00
|
|
|
bastille_sharedir="/usr/local/share/bastille" ## default: "/usr/local/share/bastille"
|
2019-06-22 09:55:28 -06:00
|
|
|
|
2020-05-03 16:59:33 -05:00
|
|
|
## bootstrap archives, which components of the OS to install.
|
|
|
|
|
## base - The base OS, kernel + userland
|
2020-05-03 17:21:08 -05:00
|
|
|
## lib32 - Libraries for compatibility with 32 bit binaries
|
2020-05-03 16:59:33 -05:00
|
|
|
## ports - The FreeBSD ports (3rd party applications) tree
|
|
|
|
|
## src - The source code to the kernel + userland
|
|
|
|
|
## test - The FreeBSD test suite
|
|
|
|
|
## this is a whitespace separated list:
|
|
|
|
|
## bastille_bootstrap_archives="base lib32 ports src test"
|
2020-01-28 18:57:51 -04:00
|
|
|
bastille_bootstrap_archives="base" ## default: "base"
|
2019-06-22 09:55:28 -06:00
|
|
|
|
|
|
|
|
## default timezone
|
2021-12-12 12:10:39 -05:00
|
|
|
bastille_tzdata="" ## default: empty to use host's time zone
|
2019-06-22 09:55:28 -06:00
|
|
|
|
|
|
|
|
## default jail resolv.conf
|
2020-01-28 18:57:51 -04:00
|
|
|
bastille_resolv_conf="/etc/resolv.conf" ## default: "/etc/resolv.conf"
|
|
|
|
|
|
|
|
|
|
## bootstrap urls
|
2020-02-02 19:55:18 -04:00
|
|
|
bastille_url_freebsd="http://ftp.freebsd.org/pub/FreeBSD/releases/" ## default: "http://ftp.freebsd.org/pub/FreeBSD/releases/"
|
|
|
|
|
bastille_url_hardenedbsd="http://installer.hardenedbsd.org/pub/hardenedbsd/" ## default: "https://installer.hardenedbsd.org/pub/HardenedBSD/releases/"
|
2021-02-26 16:55:56 -05:00
|
|
|
bastille_url_midnightbsd="https://www.midnightbsd.org/ftp/MidnightBSD/releases/" ## default: "https://www.midnightbsd.org/pub/MidnightBSD/releases/"
|
2019-06-22 09:55:28 -06:00
|
|
|
|
|
|
|
|
## ZFS options
|
2020-01-28 18:57:51 -04:00
|
|
|
bastille_zfs_enable="" ## default: ""
|
|
|
|
|
bastille_zfs_zpool="" ## default: ""
|
|
|
|
|
bastille_zfs_prefix="bastille" ## default: "${bastille_zfs_zpool}/bastille"
|
|
|
|
|
bastille_zfs_options="-o compress=lz4 -o atime=off" ## default: "-o compress=lz4 -o atime=off"
|
2019-10-25 19:33:16 -06:00
|
|
|
|
2020-01-26 19:45:26 -04:00
|
|
|
## Export/Import options
|
2020-01-28 18:57:51 -04:00
|
|
|
bastille_compress_xz_options="-0 -v" ## default "-0 -v"
|
|
|
|
|
bastille_decompress_xz_options="-c -d -v" ## default "-c -d -v"
|
2021-07-07 05:05:38 -04:00
|
|
|
bastille_compress_gz_options="-1 -v" ## default "-1 -v"
|
|
|
|
|
bastille_decompress_gz_options="-k -d -c -v" ## default "-k -d -c -v"
|
2020-01-26 19:45:26 -04:00
|
|
|
|
2019-10-25 19:33:16 -06:00
|
|
|
## Networking
|
2020-04-12 17:04:37 -06:00
|
|
|
bastille_network_loopback="bastille0" ## default: "bastille0"
|
2022-11-26 23:24:33 -05:00
|
|
|
bastille_network_pf_ext_if="ext_if" ## default: "ext_if"
|
|
|
|
|
bastille_network_pf_table="jails" ## default: "jails"
|
2020-04-12 17:04:37 -06:00
|
|
|
bastille_network_shared="" ## default: ""
|
|
|
|
|
bastille_network_gateway="" ## default: ""
|
2021-07-26 11:13:04 +02:00
|
|
|
bastille_network_gateway6="" ## default: ""
|
2020-11-26 12:44:40 -05:00
|
|
|
|
|
|
|
|
## Default Templates
|
|
|
|
|
bastille_template_base="default/base" ## default: "default/base"
|
2021-01-08 20:30:03 -04:00
|
|
|
bastille_template_empty="" ## default: "default/empty"
|
2020-11-26 12:44:40 -05:00
|
|
|
bastille_template_thick="default/thick" ## default: "default/thick"
|
2022-01-15 11:32:28 -04:00
|
|
|
bastille_template_clone="default/clone" ## default: "default/clone"
|
2020-11-26 12:44:40 -05:00
|
|
|
bastille_template_thin="default/thin" ## default: "default/thin"
|
|
|
|
|
bastille_template_vnet="default/vnet" ## default: "default/vnet"
|