Commit Graph

101 Commits

Author SHA1 Message Date
tschettervictor
bc6d3c0d55 Update clone.sh 2025-06-11 23:10:07 -06:00
tschettervictor
2338701696 Update clone.sh 2025-06-11 23:07:30 -06:00
tschettervictor
588cfa0697 clone: Use dynamic epairs 2025-06-11 22:57:39 -06:00
tschettervictor
655416cce9 fix shellcheck 2025-06-02 22:02:19 -06:00
tschettervictor
3baebc674a require IP4 and IP6 on dual stack clone 2025-06-02 21:55:36 -06:00
tschettervictor
b9d5a56b5a clone: some code cleanup 2025-06-02 19:51:47 -06:00
tschettervictor
e8d15b53b9 fix SLAAC verify 2025-06-02 19:39:52 -06:00
tschettervictor
1a8e142b15 ip6: Update clone, rename, and network 2025-06-02 19:35:55 -06:00
tschettervictor
b040474bf5 basic spacing fixes for help commands 2025-05-18 17:16:17 -06:00
tschettervictor
996b0be9eb clone: Fix IP4 IF cloning 2025-05-11 08:10:00 -06:00
tschettervictor
6ab425e7d3 clone: Fix replacing IF with subnet (/) 2025-05-10 21:55:28 -06:00
tschettervictor
68f4aecddf finish refactor of line spacing 2025-05-01 17:39:50 -06:00
tschettervictor
8ffab02c85 line refactor clone,config,bootstrap,verify,zfs 2025-05-01 12:38:14 -06:00
tschettervictor
ef53f34574 clone+bootstap spacing 2025-04-30 20:27:28 -06:00
tschettervictor
bb47671cf0 half way point 2025-04-30 11:21:41 -06:00
tschettervictor
9be80bdc75 Merge branch 'master' into netgraph-support 2025-04-26 18:40:59 -06:00
tschettervictor
37c55bde52 clone: Start both jails if AUTO=1 2025-04-26 18:38:00 -06:00
tschettervictor
fa4ffa340f we dont need an error_exit twice when validating netconf 2025-04-26 15:01:56 -06:00
tschettervictor
209d800cbb move validate_netconf to common.sh 2025-04-26 14:58:26 -06:00
tschettervictor
65ebde4ffc clone: Fix || > && 2025-04-26 11:36:01 -06:00
tschettervictor
6af5e7c8e0 Update clone.sh 2025-04-26 11:31:08 -06:00
tschettervictor
1c9f715afa Update clone.sh 2025-04-26 11:30:48 -06:00
tschettervictor
7e55510e68 netgraph: Add clone, rename 2025-04-25 20:33:09 -06:00
tschettervictor
9091fa3880 Update clone.sh 2025-04-16 20:01:15 -06:00
tschettervictor
8c20d534d7 clone: Use epair list to find next epair number 2025-04-16 19:11:09 -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
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
d5deb9bd1b Fix epair numbering when mixing -V and -B jails on one systme 2025-04-16 12:07:15 -06:00
Barry McCormick
ee62485178 Merge pull request #895 from tschettervictor/custom-config
bastille: Support user based config
2025-03-26 22:24:41 -07:00
Barry McCormick
f935cba9f3 Merge pull request #783 from tschettervictor/multiple-interfaces
network: Support adding/removing multiple interfaces in jails
2025-03-26 22:21:29 -07:00
tschettervictor
0f3b5baf83 clone: Fix old to new interface style 2025-03-21 05:43:04 -06:00
tschettervictor
47faf79f3a clone: Fix old style interface to new style 2025-03-20 17:31:26 -06:00
tschettervictor
2ef9f95477 clone: Allow to clone with VLANs 2025-03-03 14:58:51 -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
6ba11dc762 bastille: Support user based config
This PR will allow bastille to be configured based on the user you run as.

To load the config for a specifig user, you must be logged in as the specified user, and there must be a file called "bastille_user.conf" inside /usr/local/etc/bastille or else bastille will just load the default config file.
2025-03-01 18:48:14 -07:00
tschettervictor
de79af7bb4 clone: Fix for same jail description 2025-02-05 13:51:50 -08:00
tschettervictor
6301d637fb clone: Fix missing command 2025-02-05 10:57:44 -08:00
tschettervictor
7250522b1e clone: Rebase 2025-02-05 08:12:20 -08:00
tschettervictor
d9af67b3d3 clone: Fix IP6 mode 2025-02-03 13:01:36 -07:00
tschettervictor
ef6d7616ba clone: Remove unneeded vars 2025-02-03 12:51:52 -07:00
tschettervictor
b76201e25c clone: Fix cloning with “if|ip” jail entry 2025-02-03 12:45:55 -07:00
tschettervictor
b1d6b49141 clone: Typo in usage block 2025-01-26 11:11:00 -07:00
tschettervictor
1a77041e8e clone: Also check ifconfig for epairs 2025-01-25 10:24:33 -07:00
tschettervictor
10c82964e3 clone: Change MAC after IF 2025-01-19 08:27:41 -07:00
tschettervictor
c1537e2a20 clone: Spacing -1 2025-01-19 08:22:12 -07:00
tschettervictor
1fc84bc168 clone: Fix retrieving ext if MAC on bridge 2025-01-19 08:14:24 -07:00
tschettervictor
ef8a4e209f clone: more typos 2025-01-18 22:14:13 -07:00
tschettervictor
73b9b14931 clone: typos 2025-01-18 22:10:23 -07:00
tschettervictor
04f86c3f5b clone: Allow name=if clone 2025-01-18 16:38:29 -07:00