Skip to content

Releases: BastilleBSD/bastille

New zfs sub-command

22 Jun 20:17
02a14e2
Compare
Choose a tag to compare
New zfs sub-command Pre-release
Pre-release

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.

22 Jun 15:59
6d69c82
Compare
Choose a tag to compare
Pre-release

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"
  • 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.

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 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

23 May 04:02
e5ae4d0
Compare
Choose a tag to compare
Pre-release

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

05 Feb 04:34
57bd13c
Compare
Choose a tag to compare
bugfixes Pre-release
Pre-release

This update fixes some minor issues.

Bootstrap archives are now configurable.
Jail logs are archived on destroy.

bootstrap bugfix

03 Jan 03:12
29e98b5
Compare
Choose a tag to compare
bootstrap bugfix Pre-release
Pre-release

fixes regression in bootstrap

Startups and Templates

30 Nov 18:41
2e6b8f3
Compare
Choose a tag to compare
Pre-release

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

24 Nov 17:16
118d403
Compare
Choose a tag to compare
Happy Thanksgiving Pre-release
Pre-release

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

21 Nov 04:59
18eec0d
Compare
Choose a tag to compare
Bug Fix Pre-release
Pre-release

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!

14 Nov 04:48
ca8dad3
Compare
Choose a tag to compare
Fix all the things! Pre-release
Pre-release

This release fixes the nasty TERM issue as well as the rc script.
Also some minor cosmetic fixes.

Working Templates

13 Nov 17:59
2533f44
Compare
Choose a tag to compare
Working Templates Pre-release
Pre-release

This release supports basic templates in Bastille. See README for details.