Commit Graph

1164 Commits

Author SHA1 Message Date
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
59296d60a6 console: _jail>TARGET 2025-01-14 13:29:46 -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
a5f66c6e80 template: do not escape & in “cmd” 2025-01-14 09:13:52 -07:00
tschettervictor
358dbe7e0b template: allow & in arg string 2025-01-14 08:45:35 -07:00
tschettervictor
b1a3306cef common: use FreeBSD prefix for static MAC 2025-01-14 07:33:43 -07:00
tschettervictor
1cfbe6b5e0 bastille: remove rcp 2025-01-13 19:39:34 -07:00
tschettervictor
628f0fac34 bastille: move cp to no action commands 2025-01-13 19:37:59 -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
tschettervictor
bee05016f6 rdr: trim subnet in case it is included behind ip 2025-01-13 08:17:54 -07:00
tschettervictor
8e73e6f188 cp: include rcp in cp and add jail mode 2025-01-12 11:16:51 -07:00
tschettervictor
254f1718c0 rdr: update error_message to say reset instead of clear 2025-01-12 11:07:36 -07:00
tschettervictor
0a837ee5be rdr: support old style interface 2025-01-12 10:42:54 -07:00
tschettervictor
f65b8c3ebf rcp: trim // to / and allow only single target 2025-01-11 17:20:54 -07:00
tschettervictor
816f24331a cp: trim double // to / 2025-01-11 17:20:10 -07:00
tschettervictor
6040308270 rcp: update to use new functions 2025-01-11 16:46:30 -07:00
tschettervictor
228bb3b8ce cp: update to use new functions in common.sh 2025-01-11 16:44:01 -07:00
tschettervictor
cf3bb4e809 rdr: fix echo code on IPv6 redirection 2025-01-11 16:14:50 -07:00
tschettervictor
780f93ca16 rdr: spacing fix and usage message remove additional ] 2025-01-11 16:07:25 -07:00
tschettervictor
cab6ef8c06 Merge branch 'BastilleBSD:master' into rdr-multiple-interfaces 2025-01-11 16:04:03 -07:00
tschettervictor
18a6fecad5 top: remove trailing ;; 2025-01-11 15:40:32 -07:00
tschettervictor
38e0e90e10 htop: add auto mod 2025-01-11 15:40:10 -07:00
tschettervictor
5409d8eab3 top: add auto mode 2025-01-11 15:38:17 -07:00
Juan David Hurtado G
7e90b7072f Update Bastille version to 0.12.20250111
Updated the version references in documentation, configuration, and script files to reflect the latest release.
2025-01-11 17:16:19 -05:00
Juan David Hurtado G
c70cb249dd bastille: Fix typo in prompt message for missing configuration file. 2025-01-11 16:40:31 -05:00
Juan David Hurtado G
c544727d40 bastille: fix sourcing common before the config file check, this ensures setup can run correctly 2025-01-11 15:55:21 -05:00
tschettervictor
e33dd04ad1 mount: Docs, one more typo "on > one" 2025-01-11 12:10:27 -07:00
Juan David Hurtado G
8b0411c111 Add SPDX license identifiers and update copyright years
Added SPDX-License-Identifier to all scripts for better license clarity and compliance. Updated the copyright years from 2024 to 2025 in various files to reflect the current maintenance period.
2025-01-11 14:07:41 -05:00
tschettervictor
753c537e52 mount: allow [ro|rw|rq|sw|xx] as available mount options 2025-01-11 12:06:30 -07:00
tschettervictor
fb71f0dda5 mount: allow mount with options behind permissions
Allow mounting with permissions like “rw,other,options” that are needed for tmpfs mounting.
2025-01-10 15:22:31 -07:00
tschettervictor
a3d96003b8 mount: change " -gt 6" > "-gt 7" 2025-01-10 10:22:31 -07:00
tschettervictor
86c5b4928b etcupdate: warn on -d for diff/resolve 2025-01-10 08:56:32 -07:00
tschettervictor
397b13bc23 etcupdate: remove -n option from resolve mode 2025-01-10 00:18:47 -07:00
tschettervictor
cd330363c2 etcupdate: jail var missing 2025-01-10 00:14:25 -07:00
tschettervictor
e405302cec list: fix find command not registering "" properly 2025-01-09 23:45:26 -07:00
tschettervictor
983ffa7014 list: correctly print JID instead of JAILNAME 2025-01-09 23:35:31 -07:00