Commit Graph

893 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
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
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
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
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
tschettervictor
c9bb5132c0 common: do not trim : from MAC too early 2025-01-13 15:58:56 -07:00
tschettervictor
5345c2a599 common: MAC now follows host prefix, and hashes jail+hostMAC for suffix 2025-01-13 13:59:55 -07:00
tschettervictor
131c89c6f8 clone: Static MAC optional 2025-01-13 13:25:54 -07:00
tschettervictor
cd8461691f common: Static MAC optional 2025-01-13 13:23:08 -07:00
tschettervictor
10822931bb create: Static MAC optional 2025-01-13 13:19:26 -07:00
tschettervictor
cab6f1a217 etcupdate: add “” 2025-01-13 08:41:14 -07:00