Commit Graph

1348 Commits

Author SHA1 Message Date
JRGTH
050d200832 Quick cleanup revision 2025-01-21 18:45:38 -04:00
JRGTH
f45fb73913 Quick shellcheck fix as per suggestion 2025-01-21 18:23:52 -04:00
JRGTH
848bec5fae Add --ethernet option for bastille_network_shared
Add '-e|--ethernet' option to configure `bastille_network_shared` physical interface, also add  config backups to select partial variable resets as well.
2025-01-21 18:17:12 -04:00
JRGTH
6327d3654b Local shellcheck pass using shellcheck version: 0.8.0 2025-01-21 06:25:44 -04:00
JRGTH
af78f2b74d Initial 'bastille setup' cmd rewrite/enhancements
This PR will add the Initial 'bastille setup' command rewrite and enhancements, includes the ZFS activation helper, also further enhancements will be added accordingly.

Further testing/bug reporting welcome.
2025-01-21 05:55:37 -04:00
Juan David Hurtado G
05dc2b8d6a Merge pull request #802 from tschettervictor/patch-2
mount: allow [ro|rw|rq|sw|xx] as available mount options
2025-01-20 20:58:11 -05:00
tschettervictor
f0072cebbd mount: Do not show debug as an option 2025-01-20 18:53:04 -07:00
tschettervictor
dee9ab0865 mount: Remove debug option for later addition 2025-01-20 18:52:16 -07:00
tschettervictor
c790e65f13 mount: Call usage on unknown option 2025-01-20 18:42:39 -07:00
tschettervictor
90777ca37e mount: Stay consistent with "Unknown Option." 2025-01-20 18:38:47 -07:00
tschettervictor
c27f0a7408 mount: Add options block to notify message 2025-01-20 18:36:54 -07:00
tschettervictor
a49d58124d docs: Mount fix 2025-01-20 18:33:20 -07:00
tschettervictor
391abe2335 mount: just change "must start with" to "must include" for documentation 2025-01-20 18:32:35 -07:00
tschettervictor
caee31a621 mount: Spacing 2025-01-20 18:30:23 -07:00
tschettervictor
0bf87b1980 mount: Add debug mode 2025-01-20 18:28:33 -07:00
Barry McCormick
c120017aa1 Merge pull request #810 from tschettervictor/update_fix
update: set -d and -f for release updates and thick jail updates
2025-01-20 13:46:21 -08:00
Barry McCormick
a3357216c9 Merge pull request #811 from tschettervictor/upgrade_deprecate_release
upgrade: deprecate RELEASE upgrade, fix thick/thin jail upgrades
2025-01-20 13:41:04 -08:00
tschettervictor
4fc9426bc1 upgrade: let users know to restart and run install command again 2025-01-20 12:36:27 -07:00
Barry McCormick
dd77501584 Merge pull request #822 from ejherlig/ejherlig-docs_work
Create config.rst
2025-01-19 08:20:35 -08:00
ejherlig
b2ba31984e Create config.rst
The "config" subcommand exists but is not documented. This file documents the subcommand with a few examples.
2025-01-19 12:25:02 +00:00
tschettervictor
f994df3bad mount: Revert [] > () 2025-01-18 07:51:00 -07:00
tschettervictor
e1a2ed1b6b mount: Fix () > [] 2025-01-18 07:39:42 -07:00
tschettervictor
bbb1555ecc mount: Fix similar path mount grep 2025-01-18 07:33:00 -07:00
tschettervictor
03214c4f0a Merge branch 'master' into patch-2 2025-01-17 22:18:03 -07:00
tschettervictor
5cfbe222ad upgrade: Fix jail update var 2025-01-17 12:27:11 -07:00
Barry McCormick
fe63412cbf Merge pull request #816 from MatthiasPetermann/patch/fix-fstab-regex
Please fix regex for fstab hook
2025-01-17 10:14:49 -08:00
tschettervictor
d9106b5b3e docs: Fix mount perms check docs 2025-01-17 08:13:29 -07:00
tschettervictor
ee0b8b8f96 mount: fix perms check 2025-01-17 08:11:58 -07:00
tschettervictor
6eaa16e299 update: use “workdir” 2025-01-17 07:34:13 -07:00
Matthias Petermann
ce0ab9d364 Commit fb71f0d introduced to possibility to add options behind permissions
in fstab. Unfortunately it breaks scenarios where no options are provided
as the current regex expects the comma with the options always to be present.

This patch fixes the regex to handle the options as group.
2025-01-17 09:58:23 +01:00
tschettervictor
a74f87162a update: Use -j jailpath and _release path as vars 2025-01-16 07:36:25 -07:00
tschettervictor
e4f58af770 upgrade: Use -j jailname instead of -b 2025-01-16 07:27:48 -07:00
tschettervictor
35f698bc96 upgrade: use $jailpath for vars 2025-01-16 07:25:49 -07:00
Barry McCormick
fb876b4074 Merge pull request #808 from tschettervictor/patch-3
create: Static MAC optional
2025-01-15 21:29:48 -08:00
Barry McCormick
c66efd5fc0 Merge pull request #804 from tschettervictor/htop-top-auto-mode
top/htop: update auto-mode and documentation
2025-01-15 09:07:16 -08:00
Barry McCormick
49a7a643a8 Merge pull request #790 from tschettervictor/etcupdate
etcupdate: beta version
2025-01-14 21:37:54 -08:00
Barry McCormick
d02bb11c57 Merge pull request #812 from tschettervictor/patch-4
list: Fix “grep: no such file”
2025-01-14 21:12:52 -08:00
tschettervictor
43dfd98af5 list: typo in shellcheck 2025-01-14 15:02:17 -07:00
tschettervictor
b59f02afa3 list: disable shell check (needed for grep error) 2025-01-14 15:00:13 -07:00
tschettervictor
e07f121bcf List: fix “” for shell check 2025-01-14 14:53:56 -07:00
tschettervictor
a83772dc2b list: Fix “grep: no such file”
This fixes the issue introduced by the 0.12-2025 release.

The problem was the entries were being passed to grep as combined strings because of quotes.

Remove the quotes solves the issue.
2025-01-14 14:49:07 -07:00
tschettervictor
5394ad8979 upgrade: Update "osrelease" entry 2025-01-14 13:22:30 -07:00
tschettervictor
6bddbaab2c upgrade: deprecate RELEASE upgrade, fix thick/thin jail upgrades 2025-01-14 13:03:36 -07:00
tschettervictor
2f7120a176 update: add debug, code cleanup 2025-01-14 13:02:02 -07:00
tschettervictor
b22d68db13 update: set -d and -f for release updates and think jail updates 2025-01-14 11:24:10 -07:00
tschettervictor
9420441a56 common: Add comments about static MAC 2025-01-14 10:54:28 -07:00
tschettervictor
b1a3306cef common: use FreeBSD prefix for static MAC 2025-01-14 07:33:43 -07:00
tschettervictor
57a652cc70 common: update function to use "epairx" because of name limit in FreeBSD 2025-01-13 17:44:30 -07:00
tschettervictor
e36d1c2881 clone: fix mac not applying on bridge 2025-01-13 17:19:03 -07:00
tschettervictor
d9ef63bc60 clone: update "update_jail_conf_vnet" function for optional static MAC 2025-01-13 16:03:30 -07:00