Releases: BastilleBSD/bastille
New zfs sub-command
This update adds a new zfs.sh sub-command that allows control over zfs attributes. This is considered a minor, but suggested patch to the previous release.
Support ZFS! Also bugfixes.
This release adds ZFS support as well as some additional bug fixes and minor improvements. Details below:
- ZFS support can be enabled in bastille.conf:
bastille_zfs_enable="YES"
- If ZFS enabled, zpool must be defined in bastille.conf:
bastille_zfs_zpool="ZPOOL_NAME"
- If ZFS enabled, zpool must be defined in bastille.conf:
- ZFS options can be configured in bastille.conf. Default:
"-o compress=lz4 -o atime=off"
- resolv.conf options added in previous release (0.3.20190522) replaced with simpler /path/to/resolv.conf.
- Defaults to host
/etc/resolv.conf
, but can be any valid resolv.conf.
- Defaults to host
Bugfixes
- Bootstrap patch provided by JoseMR from XigmaNAS. 🍻
- Fixes
bastille_bootstrap_archive
option to support bootstrap of lib32, ports, src, etc. Valid options are: "base (required), base-dbg, lib32, lib32-dbg, ports, src, tests".
- Fixes
- Fixes issue with create.sh that caused jailed resolv.conf to break.
- Fixes issue with create.sh that caused jailed fstab to have bad formatting.
- Fixes issue with list.sh that caused non-Bastille jails (eg; poudriere jails) to be visible
- Fixes issue with create.sh that required specific case-sensitive release names.
- Fixes issue with destroy.sh that reported error if jail console log not yet populated.
This release updates the bastille.conf. Compare and merge with the .sample as needed.
Support HardenedBSD + extras
This release adds initial (basic) support for HardenedBSD as a platform. The bootstrap and create functions have been tested as functional, update/upgrade/verify are not yet supported.
While I was in there making improvements I also made the default nameservers configurable, as well as the default timezone. You can also add custom DNS options if you really want to.
bugfixes
This update fixes some minor issues.
Bootstrap archives are now configurable.
Jail logs are archived on destroy.
bootstrap bugfix
fixes regression in bootstrap
Startups and Templates
This release fixes the startup script and includes support for GitHub templates.
bastille bootstrap https://github.com/user/template
bastille template TARGET user/template
Happy Thanksgiving
This release fixes a number of minor issues, cleans up some of the output, and makes Bastille a little more compatible.
Notable changes:
- targeting is now precise by name
- template pre/config/sysrc/pkg/cmd work as expected
- cmd, console, cp, pkg, sysrc, top/htop should all be compatible across jail managers. (ie; these work on ezjail, iocage, etc) - ONLY IF JAIL IS RUNNING.
Bug Fix
Bug Fix Release.
fixes: #12, #14 plus a few other things I found.
PRE
, and CMD
template hooks should work more reliably now. These are both executed as /bin/sh
.
SYSRC
template hook requires either NO quotes (even on strings with spaces) or escaped quotes!
Added a default cron_flags="-J 60"
to the create sub-command. Defaults now include:
syslogd_flags="-ss"
, sendmail_enable="NONE"
and cron_flags="-J 60"
.
Fixed the color output in the update sub-command from RED (error) to GREEN.
Thanks to bmac2 for finding these bugs with me!
Fix all the things!
This release fixes the nasty TERM issue as well as the rc script.
Also some minor cosmetic fixes.
Working Templates
This release supports basic templates in Bastille. See README for details.