Commit Graph

139 Commits

Author SHA1 Message Date
Barry McCormick
ee62485178 Merge pull request #895 from tschettervictor/custom-config
bastille: Support user based config
2025-03-26 22:24:41 -07:00
tschettervictor
d7e12d698e Merge branch 'BastilleBSD:master' into multiple-interfaces 2025-03-03 16:27:02 -07:00
tschettervictor
49a4bed126 Merge branch 'BastilleBSD:master' into custom-config 2025-03-03 16:26:54 -07:00
tschettervictor
e834b84dd6 Update bastille 2025-03-02 13:20:14 -07:00
tschettervictor
af2bf4b235 bastille: version and help not optional 2025-03-02 12:53:13 -07:00
tschettervictor
454288b2b1 bastille: Load config only from commons.sh
Since all files source common.sh anyway, we don't want to source the config twice.
2025-03-02 11:23:35 -07:00
tschettervictor
644bb8633a bastille: Missed jcp in main command 2025-03-02 05:54:26 -07:00
tschettervictor
4a1fb4bf89 bastille: Exit instead of info 2025-03-01 22:02:01 -07:00
tschettervictor
9c1fa6eb91 bastille: Load config if set in ENV 2025-03-01 22:00:06 -07:00
tschettervictor
58cb2ccdf7 Load config after setting BASTILLE_CONFIG 2025-03-01 21:38:13 -07:00
tschettervictor
3dd3956a88 bastille: Export only if env not set 2025-03-01 21:33:54 -07:00
tschettervictor
efcfe7c2b0 bastille: export BASTILLE_CONFIG 2025-03-01 21:21:18 -07:00
tschettervictor
fab14ffe7c bastille: Allow setting config file 2025-03-01 21:14:56 -07:00
tschettervictor
2c470c0fcf Merge branch 'master' into multiple-interfaces 2025-02-24 00:30:08 -07:00
tschettervictor
1059ee8eec bastille: Redo main cmd as all functions are now handled by common.sh 2025-02-23 12:28:17 -07:00
tschettervictor
2d6b93a939 Merge branch 'master' into master 2025-02-23 12:18:38 -07:00
tschettervictor
18f5404b73 bastille: Limits+Tags to no action commands 2025-02-23 12:16:57 -07:00
tschettervictor
5b2d705019 bastille: Convert and zfs to no action commands 2025-02-23 12:09:13 -07:00
tschettervictor
be96dc996d bastille: service+sysrc to no action commands 2025-02-23 11:58:47 -07:00
tschettervictor
9f89335309 bastille: Cmd to no action commands 2025-02-23 11:48:23 -07:00
tschettervictor
5f8d7f2bb6 bastille: Move config to no options command 2025-02-23 11:41:22 -07:00
tschettervictor
b8587048b1 Merge branch 'master' into multiple-interfaces 2025-02-23 10:19:47 -07:00
tschettervictor
3f449a8974 edit: Move to no action commands 2025-02-23 10:17:56 -07:00
tschettervictor
2743316c00 Update bastille: Rebar 2025-02-05 08:15:53 -08:00
tschettervictor
7b6e7c4f8d Merge branch 'master' into patch-2 2025-02-03 13:46:40 -07:00
tschettervictor
2c40e72940 Merge branch 'master' into patch-4 2025-02-03 12:08:29 -07:00
tschettervictor
73d510aae4 Bastille: Stop to no action commands 2025-02-03 11:46:08 -07:00
Juan David Hurtado G
00f09ef738 version 0.13.20250126 2025-01-26 22:15:08 -05:00
tschettervictor
8da08943a3 Merge branch 'master' into patch-4 2025-01-26 18:18:11 -07:00
Juan David Hurtado G
03649f6158 Merge branch 'master' into cp-rcp-new-functions 2025-01-26 20:00:54 -05:00
tschettervictor
7be9934a26 bastille: Pkg to no action commands 2025-01-26 12:30:24 -07:00
tschettervictor
2e55965edd Merge branch 'master' into common.sh_functions 2025-01-26 10:38:58 -07:00
tschettervictor
183a3c201a Merge branch 'master' into cp-rcp-new-functions 2025-01-26 10:33:10 -07:00
tschettervictor
708c9c3b4d bastille: Add jcp/rcp to commands 2025-01-21 07:48:09 -07:00
tschettervictor
3f9d903f10 bastille: rename+clone > no options command 2025-01-18 17:44:38 -07:00
tschettervictor
6a1226bdc9 Merge branch 'master' into cp-rcp-new-functions 2025-01-17 22:42:47 -07:00
tschettervictor
fb1d4fca95 Merge branch 'master' into common.sh_functions 2025-01-15 14:49:06 -07:00
Barry McCormick
49a7a643a8 Merge pull request #790 from tschettervictor/etcupdate
etcupdate: beta version
2025-01-14 21:37:54 -08: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
8e73e6f188 cp: include rcp in cp and add jail mode 2025-01-12 11:16:51 -07:00
tschettervictor
bf750f2b18 Merge branch 'BastilleBSD:master' into multiple-interfaces 2025-01-11 16:02:11 -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
bb7f73e8f6 bastille: rename functions to "old" in place of new ones
Rename "check_target_is_running" and "target_all_jails" to have the suffix "_old".

These two function are only ever called from within the main bastille executable. 

I am integrating these functions in "common.sh" so renaming them here for removal in the future is the best path forward.
2025-01-05 19:10:59 -07:00
tschettervictor
96e2cefc66 etcupdate: beta version
Add subcommand "etcupdate"

This will simply use the built in "bootstrap" command to bootstrap the "src" version of a release, then create a tarball for it ONCE. This tarball is then used to update (includes dry run) a specifie jail to a specified RELEASE version of etc.
2025-01-04 11:12:56 -07:00
tschettervictor
0f21203583 Merge branch 'master' into multiple-interfaces 2024-12-31 18:41:13 -07:00
tschettervictor
7a621b2e1a Merge branch 'master' into check_jail_exists-function 2024-12-31 14:58:50 -07:00