Commit Graph

1274 Commits

Author SHA1 Message Date
tschettervictor
7e573dde0c temporary setup command fix
This is simply to avoid issues when the setup command might be run over an existing setup.

It will check each setup subcommand and verify it has not already been configured before attempting to run the setup for the relevant setup step.

This is only temporary, as we would like to get a much more advanced setup command integrated in this or below.

#940
2025-04-21 20:38:33 -06:00
Barry McCormick
07f9fd824e Merge pull request #928 from BastilleBSD/jail-to-release-convert
convert: Allow converting jail to release

tested and works perfectly
2025-04-21 17:40:05 -07:00
tschettervictor
1cc713ec86 list: Only list the relevant template part of the directory 2025-04-21 17:30:16 -06:00
tschettervictor
601cd1c9cb fix shellcheck 2025-04-21 17:24:59 -06:00
tschettervictor
4feef07ca7 bootstrap: Bugfix when bootstrapping single template 2025-04-21 17:18:04 -06:00
tschettervictor
511c6dbd23 bootstrap: Fix verify 2025-04-21 17:13:25 -06:00
tschettervictor
fb3d300779 bootstrap: Fix cloning single template 2025-04-21 17:10:30 -06:00
tschettervictor
4cd63e5057 verify: Fix wrong var name when removing wrong template 2025-04-21 17:05:26 -06:00
tschettervictor
78764e581c fix shellcheck 2025-04-21 16:58:32 -06:00
tschettervictor
6888212953 fix shellcheck 2025-04-21 16:50:25 -06:00
tschettervictor
dd1308d1ad Allow bootstrapping templates in subdirectories 2025-04-21 16:47:49 -06:00
tschettervictor
b4a8d01c98 Merge pull request #918 from BastilleBSD/tschettervictor-patch-2
template: Add LINE_IN_FILE as HOOK
2025-04-20 18:17:50 -06:00
tschettervictor
eb0a4e8718 Update bootstrap.sh 2025-04-20 18:16:30 -06:00
tschettervictor
31caa72120 Update bootstrap.sh 2025-04-20 18:13:44 -06:00
tschettervictor
fce55220dd bootstarp: Also check for dataset existence 2025-04-20 18:12:37 -06:00
tschettervictor
12a9b76692 bootstrap: Ensure proper bastille_prefix mounting if the directory exists 2025-04-20 17:17:13 -06:00
tschettervictor
d74ea550ff Update config.sh 2025-04-20 14:17:47 -06:00
tschettervictor
a6abd0c96e config: Allow removing config values from jail.conf 2025-04-20 14:17:46 -06:00
tschettervictor
6863e6e3b7 docs: Reorder boot and priority + minor fixes 2025-04-20 14:17:46 -06:00
tschettervictor
56e621b099 Merge branch 'master' into tschettervictor-patch-2 2025-04-20 11:05:51 -06:00
Juan David Hurtado G
2d3673b4b7 setup: removes deprecated option bastille0 2025-04-20 11:35:59 -05:00
Juan David Hurtado G
0f04b1be79 network: Adding SPDX identifier 2025-04-20 10:45:54 -05:00
Juan David Hurtado G
e9b267d882 setup: fix to use the new BASTILLE_CONFIG variable
This helps restore the autoconfiguration for ZFS
2025-04-19 12:21:08 -05:00
tschettervictor
a46c626866 Update restart.sh 2025-04-17 19:06:42 -06:00
tschettervictor
72b434bf64 Update start.sh 2025-04-17 19:06:02 -06:00
tschettervictor
91e230156b Update stop.sh 2025-04-17 19:05:45 -06:00
tschettervictor
5a46f36456 Update start.sh 2025-04-17 19:04:51 -06:00
tschettervictor
ce6f0ac953 restart: Small typo clarification 2025-04-17 19:02:38 -06:00
tschettervictor
1a68f3db0b start: Small typo clarification 2025-04-17 19:01:32 -06:00
tschettervictor
531b5d14bf stop: Small typo clarification 2025-04-17 19:01:00 -06:00
tschettervictor
82d3a18366 Update common.sh 2025-04-16 20:02:41 -06:00
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
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
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