Commit Graph

875 Commits

Author SHA1 Message Date
tschettervictor
25cc612f46 rcp: Allow only 3 args 2025-01-21 07:59:55 -07:00
tschettervictor
42d1c13058 cp: Allow only 3 arcs 2025-01-21 07:58:56 -07:00
tschettervictor
708c9c3b4d bastille: Add jcp/rcp to commands 2025-01-21 07:48:09 -07:00
tschettervictor
086f4a60a5 jcp: Add missing fi 2025-01-21 07:42:41 -07:00
tschettervictor
4c2539dd8d copy: Add jcp for jail to jail copy 2025-01-21 07:41:01 -07:00
tschettervictor
5746af3581 common: Add debug mode 2025-01-20 18:50:06 -07:00
tschettervictor
22831e4b82 cp: Exit it -j and -r are both set 2025-01-20 18:47:58 -07:00
tschettervictor
6a1226bdc9 Merge branch 'master' into cp-rcp-new-functions 2025-01-17 22:42:47 -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
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
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
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
8e73e6f188 cp: include rcp in cp and add jail mode 2025-01-12 11:16:51 -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
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
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
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
tschettervictor
894e5ef5f6 etcupdate: fix ;; spacing 2025-01-09 16:37:48 -07:00
tschettervictor
cca43cb436 etcupdate: fix “fi” 2025-01-09 16:34:15 -07:00