Commit Graph

1537 Commits

Author SHA1 Message Date
tschettervictor
9091fa3880 Update clone.sh 2025-04-16 20:01:15 -06:00
tschettervictor
e70d8b0a1e Update network.sh 2025-04-16 20:00:38 -06:00
tschettervictor
9462d75fe9 network: Use epair list to find next epair 2025-04-16 19:15:16 -06:00
tschettervictor
aa411d26d0 common: Better epair searching 2025-04-16 19:12:33 -06:00
tschettervictor
8c20d534d7 clone: Use epair list to find next epair number 2025-04-16 19:11:09 -06:00
tschettervictor
deab7e39f7 keep grep errors silent 2025-04-16 17:52:32 -06:00
tschettervictor
745f312681 fix epair listing again 2025-04-16 17:48:39 -06:00
tschettervictor
dd2a56af6d epair: Use full list 2025-04-16 17:22:51 -06:00
tschettervictor
353a63eef8 fix clone and network numbering epair 2025-04-16 17:04:51 -06:00
tschettervictor
2251628867 fix one last count 2025-04-16 17:03:22 -06:00
tschettervictor
4d9d1d1050 fix bastille listing 2025-04-16 16:35:39 -06:00
tschettervictor
0590253acb fix epair listin 2025-04-16 16:30:12 -06:00
tschettervictor
c8e0cc0a78 fix BASTILLE_CONFIG var 2025-04-16 16:24:05 -06:00
tschettervictor
741d2c6e12 fix shellcheck 2025-04-16 16:10:09 -06:00
tschettervictor
c2b756219c Force config file in default location
This will prevent errors when bastille gathers the number of epairs on the system.
2025-04-16 16:08:17 -06:00
tschettervictor
0fe4bec89f common: Add function to count epairs 2025-04-16 15:57:07 -06:00
tschettervictor
d5deb9bd1b Fix epair numbering when mixing -V and -B jails on one systme 2025-04-16 12:07:15 -06:00
tschettervictor
dcce58c6d0 list: Retain support for all 2025-04-14 21:31:30 -06:00
tschettervictor
d6db4adc2f Update list.sh 2025-04-14 21:29:54 -06:00
tschettervictor
bddc7dd1cb list: Reverst targeting all jails 2025-04-14 21:22:37 -06:00
tschettervictor
ba1157b732 list: Use priority for list all 2025-04-14 21:05:03 -06:00
tschettervictor
df356fc881 Merge branch 'master' into list-jail-name 2025-04-14 20:55:38 -06:00
tschettervictor
9fe20252d4 list: typo s > sed 2025-04-14 20:52:59 -06:00
tschettervictor
0ea6e1966d list: Properly list jail ip if subnet is included 2025-04-14 20:50:00 -06:00
tschettervictor
8e559b6114 create: Fix jail not applying IP when IP already in use 2025-04-14 20:46:43 -06:00
tschettervictor
12f7cf2027 list: Properly list jail ip on stopped thin jail 2025-04-14 20:34:17 -06:00
tschettervictor
0235148989 list: Fix listing jail IP with / subnet 2025-04-14 20:27:36 -06:00
tschettervictor
bc5160b418 create: Bugfix for attempling to create a -B with non-bridge interface 2025-04-14 15:38:06 -06:00
tschettervictor
4d02ce7e37 htop: Bugfix for binary location 2025-04-13 20:22:10 -06:00
Barry McCormick
07f532dec6 Merge pull request #930 from JRGTH/destroy_cmd_bugfix
Don't delete jail content on error, cleanup
2025-04-11 08:17:49 -07:00
tschettervictor
c57613f9ea list: Retain support if someone specifies -a or all to list all 2025-04-10 16:33:21 -06:00
tschettervictor
01ce1b5e78 list: List all without having to specify -a or all 2025-04-10 16:30:57 -06:00
tschettervictor
37be5e52c8 docs: Once over error correction 2025-04-10 06:53:03 -06:00
JRGTH
a71d55b15e Don't delete jail content on error, cleanup
Don't delete jail content on busy datasets by default, cleanup.
2025-04-09 19:51:54 -04:00
tschettervictor
c57bd98bc1 make shellcheck happy 2025-04-09 09:40:58 -06:00
tschettervictor
6276f56ce1 convert: Allow converting jail to release
#574
2025-04-09 09:35:16 -06:00
tschettervictor
811661dac3 bastille: Allow cp parallel mode 2025-04-06 17:01:32 -06:00
tschettervictor
78e7d881cf bastille: Some commands should not support parallel mode 2025-04-06 16:57:20 -06:00
tschettervictor
c0574c28d0 Implement parallel mode
This PR allows to run commands on multiple jails in parallel. Simply use '-p 3' to set a process limit.

'bastille -p 3 start all' will start all jails but run 3 processes at a time.

This is a very rough implementation, and could be more streamlined, but here it is to test.
2025-04-06 15:52:14 -06:00
Barry McCormick
904f8557c2 Merge pull request #921 from BastilleBSD/console-multiple-targets
console: Allow multiple targets
2025-04-05 20:37:36 -07:00
tschettervictor
752d521c25 upgrade: Check release before jail 2025-04-04 17:37:15 -06:00
tschettervictor
34fa107fcf template: Fix lininfile hook 2025-04-04 16:55:33 -06:00
tschettervictor
323f2fa590 upgrade: Fix bug when upgrading thin jails 2025-04-04 16:15:05 -06:00
tschettervictor
d211c67c0a console: Continue on jail not running 2025-04-04 15:58:46 -06:00
tschettervictor
babdfd7f5b fix shellcheck 2025-04-04 15:57:32 -06:00
tschettervictor
a38a76843a console: Allow multiple targets 2025-04-04 15:55:48 -06:00
tschettervictor
d625486847 list: Fix JSON listing 2025-04-03 16:27:18 -06:00
tschettervictor
8ec3003fe2 list: Do not list Path and Hostname + list Name
#914 

This will now list Name after JID, and will not list Path or Hostname.

I've left the relevant code included in case we want to list it in the future.
2025-04-03 16:23:09 -06:00
tschettervictor
0df4d71807 template: Fix path when using line in file 2025-04-03 00:06:03 -06:00
tschettervictor
2b1d468040 template: Add LINE_IN_FILE as HOOK
#694
2025-04-02 23:48:32 -06:00