Commit Graph

872 Commits

Author SHA1 Message Date
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
5cfbe222ad upgrade: Fix jail update var 2025-01-17 12:27:11 -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
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
tschettervictor
8882c23b18 etcupdate: code optimize (usage if no RELEASE) 2025-01-09 16:30:29 -07:00
tschettervictor
e4b5273835 etcupdate: fix accidentally deleted error message 2025-01-09 15:41:23 -07:00
tschettervictor
e6e60a3a32 common: update set_target_single 2025-01-09 15:12:23 -07:00