Commit Graph

1169 Commits

Author SHA1 Message Date
Barry McCormick
9ebcff6a8b Merge pull request #766 from tschettervictor/doc-fixes
Doc typo fixes
2024-12-11 09:33:36 -08:00
tschettervictor
86e7d58358 Allow using template in custom directory 2024-12-10 16:48:17 -07:00
tschettervictor
108227f72e remove padding 2024-12-10 15:07:29 -07:00
tschettervictor
2a8a070251 remove "which pfctl"
We assume that if the jail has an ip4.addr value, then pfctl is obviously installed.

It is also not invoked by start, so stop should not need it either.
2024-12-10 15:04:27 -07:00
tschettervictor
42a5a38334 fix start.sh also 2024-12-10 14:59:02 -07:00
tschettervictor
aa17f5c4f9 Fix pfctl being invoked when NAT is not used + change ip var to ip4 for future ip6 implementation 2024-12-10 14:51:29 -07:00
Juan David Hurtado G
7bad37c250 shellcheck: export, mount. Logic syntax 2024-12-10 14:14:07 -05:00
tschettervictor
b16d21b018 Fix error produced by pfctl when no rules are returned 2024-12-09 20:06:28 -07:00
tschettervictor
3666825636 Doc typo fixes 2024-12-09 18:00:22 -07:00
Juan David Hurtado G
097ad8e269 shellcheck: template, revert single quotes 2024-12-09 19:43:04 -05:00
Juan David Hurtado G
d708a3460d shellcheck: template, fix quotes 2024-12-09 07:53:56 -05:00
Juan David Hurtado G
7c000a07d8 [WIP] shellcheck linting 2024-12-08 21:37:26 -05:00
Juan David Hurtado G
7927385458 [WIP] shellcheck linting 2024-12-08 21:34:36 -05:00
Juan David Hurtado G
b6bf75a4ef [WIP] shellcheck linting 2024-12-08 21:05:45 -05:00
Juan David Hurtado G
8808e8a5a4 [WIP] shellcheck linting 2024-12-08 20:57:43 -05:00
Juan David Hurtado G
7e6a9fa896 [WIP] shellcheck linting 2024-12-08 20:37:02 -05:00
Juan David Hurtado G
7c02c91e5c github: shellcheck exclude SC3037 2024-12-08 20:00:26 -05:00
Juan David Hurtado G
302dfb9720 github: shellcheck exclude some rules 2024-12-08 19:56:36 -05:00
Juan David Hurtado G
2be5238a57 github: shellcheck severity to warning 2024-12-08 19:44:30 -05:00
Juan David Hurtado G
5dbb196baa github: fix typo in shellcheck action 2024-12-08 19:41:15 -05:00
Juan David Hurtado G
50fd86aede github: fix typo 2024-12-08 19:39:19 -05:00
Juan David Hurtado G
933438dde8 updates version on README.md 2024-12-08 19:34:29 -05:00
Juan David Hurtado G
0625eafed2 Merge pull request #762 from BastilleBSD/shellcheck
github: Adds shellcheck linting action for pull requests
2024-12-08 19:32:18 -05:00
Juan David Hurtado G
00f2bf1087 github: Adds shellcheck linting action for pull requests 2024-12-08 19:31:50 -05:00
tschettervictor
a42d1223c7 Merge branch 'BastilleBSD:master' into master 2024-12-08 13:21:58 -07:00
Juan David Hurtado G
e1f61fb305 Merge pull request #759 from BastilleBSD/shellcheck
Shellcheck
2024-12-08 15:13:52 -05:00
Juan David Hurtado G
85d656bd11 setup: shellcheck 2024-12-08 15:12:15 -05:00
Juan David Hurtado G
55bc30e071 Merge branch 'master' into shellcheck 2024-12-08 15:08:20 -05:00
Barry McCormick
370efb2093 Merge pull request #751 from tschettervictor/patch-3
Update usage.rst - bastille list only shows running containers
2024-12-07 19:27:56 -08:00
Barry McCormick
c9bb127cf3 Merge pull request #755 from tschettervictor/patch-4
Update setup.sh - fail setup on multiple zpool detection
2024-12-07 19:15:29 -08:00
tschettervictor
6a3d675e5f Update clone.sh - final commit for static mac cleanup 2024-12-06 12:18:17 -07:00
tschettervictor
e055c87d0f Update common.sh - clean up static mac code 2024-12-06 11:42:50 -07:00
tschettervictor
203af6c8ad Update common.sh - move generation of static mac to main functions 2024-12-06 11:39:10 -07:00
tschettervictor
0030213ff3 Update README.md 2024-12-04 10:27:07 -07:00
tschettervictor
904c05f7fb Update bastille - list command only shows running 2024-12-04 10:26:32 -07:00
tschettervictor
9a157f2fc8 Update clone.sh - remove duplicate line 2024-12-04 08:18:53 -07:00
tschettervictor
0a1e9df948 Update clone.sh - revert jail config edit
This reverts some changes the the "update_jailconf" function.

The reason behind this revert is that if a jail somehow has the same name as a directory, then the previous commit would have changed the directory name as well, which would break stuff.

The current code avoids all that and only replaces the necessary jail name value.
2024-12-04 08:18:03 -07:00
tschettervictor
052c8b7492 Update setup.sh - uppercase ZFS 2024-12-04 07:22:42 -07:00
tschettervictor
4e460abcde Update setup.sh - add additional warning to enable ZFS when adding ZPOOL 2024-12-03 18:32:54 -07:00
tschettervictor
53bd72a272 Update setup.sh - fail setup on multiple zpool detection 2024-12-03 18:26:49 -07:00
Michael Osipov
d0f890890f "bastille boostrap" gives spurious and wrong warning about "bastille_zfs_enable" (#688)
Simply set to "NO" to satisfy setter function.

This fixes #688
2024-11-29 16:17:54 +01:00
tschettervictor
8c872c708b Update usage.rst - bastille list only shows running containers
'bastille list' will only print running containers.
'-a' or 'all' is needed to print both running and stopped.
2024-11-25 10:37:41 -07:00
Juan David Hurtado G
11b75f5dad shellcheck errors: SC2068 Double quote array expansions to avoid re-splitting elements. 2024-11-24 20:49:06 -05:00
Juan David Hurtado G
c8a2b3a784 Merge pull request #745 from BastilleBSD/rel/0.12
release: 0.12.20241124
2024-11-24 17:21:56 -05:00
Juan David Hurtado G
426d0fde34 setup: comment with TODO for bastille.conf check 2024-11-24 16:58:04 -05:00
Juan David Hurtado G
67234b2d84 bastille: shellcheck 2024-11-24 16:42:26 -05:00
Juan David Hurtado G
9157ac34e3 bastille: adding a no operation command 2024-11-24 16:20:13 -05:00
Juan David Hurtado G
3f0a460f90 setup: warning about reviewing and starting pf 2024-11-24 15:16:09 -05:00
Juan David Hurtado G
72a4706175 Merge branch 'master' into rel/0.12 2024-11-24 11:08:39 -05:00
Juan David Hurtado G
20276f5484 Merge pull request #746 from BastilleBSD/setup-cleaning
setup: warning deprecation of bastille0 option and updates documentation
2024-11-24 11:08:09 -05:00