Commit Graph

1226 Commits

Author SHA1 Message Date
tschettervictor
c7b845f29b network: Allow adding VLAN when IF already added 2025-03-06 12:37:46 -07:00
tschettervictor
3fc16e5118 network: -z for VLAN + VNET 2025-03-04 11:44:41 -07:00
tschettervictor
4793f1cf88 network: Add check for VLAN already added 2025-03-04 11:32:51 -07:00
tschettervictor
d7e12d698e Merge branch 'BastilleBSD:master' into multiple-interfaces 2025-03-03 16:27:02 -07:00
tschettervictor
cb5d58e48c template: Continue after HOSTCMD 2025-03-03 16:01:20 -07:00
tschettervictor
6ef1b2d4e0 template: Add HOSTCMD to hooks 2025-03-03 15:57:29 -07:00
tschettervictor
6520be4834 network: Allow VLANs when adding VNET interfaces 2025-03-03 15:09:08 -07:00
tschettervictor
2ef9f95477 clone: Allow to clone with VLANs 2025-03-03 14:58:51 -07:00
tschettervictor
45678ef5bf Merge branch 'master' into vnet-vlan 2025-03-03 14:40:59 -07:00
tschettervictor
6a4ab32ce5 Merge pull request #888 from BastilleBSD/create-custom-zfs-options
create: Allow setting zfs options on creating jail
2025-03-03 14:16:44 -07:00
tschettervictor
07095fc79e create: ZFS opts not optional 2025-03-03 13:02:00 -07:00
tschettervictor
dc9e225d8e create: Fix shellcheck 2025-03-03 12:38:13 -07:00
tschettervictor
90ceb69eb0 conf: Add vlan template 2025-03-03 12:34:32 -07:00
tschettervictor
6e7ea625b7 create: Spacing 2025-03-03 12:33:57 -07:00
tschettervictor
64447e2b3c vlans: Add Bastillefile 2025-03-03 12:32:43 -07:00
tschettervictor
8395e8b000 create: More vlan imporvements 2025-03-03 12:28:23 -07:00
tschettervictor
4c68b748b6 create: Add --vlan option 2025-03-03 12:13:48 -07:00
Barry McCormick
c6297d7194 Merge pull request #887 from BastilleBSD/jail-import-iocage-ezjail
import: Import jails using new interface format (iocage,ezjail)
2025-03-03 08:26:25 -08:00
tschettervictor
be6885eb3e stop: Do not attempt any pf actions if it has not been configured 2025-03-02 17:47:18 -07:00
tschettervictor
644bb8633a bastille: Missed jcp in main command 2025-03-02 05:54:26 -07:00
tschettervictor
71f0370cf4 create: Allow DHCP as option 2025-03-01 00:15:17 -07:00
tschettervictor
eed70dc129 import: Fix shellcheck 2025-02-28 23:13:57 -07:00
tschettervictor
efee919b49 import: Fix import to release for bastille jails 2025-02-28 23:12:31 -07:00
tschettervictor
b498fca79e import: Fix import to a release from iocage 2025-02-28 23:10:04 -07:00
tschettervictor
4c251451ba upgrade: Use config command to get release on thin jails 2025-02-28 22:55:05 -07:00
tschettervictor
9c6067f7a2 upgrade: Make sure thin jails are stopped before upgrading 2025-02-28 22:46:27 -07:00
tschettervictor
0b77f94d2f upgrade: Check jail is running earlier 2025-02-28 22:36:38 -07:00
tschettervictor
2bd35fc9d2 import: Manual network only if definitions not set 2025-02-28 22:31:13 -07:00
tschettervictor
98eb36b209 create: Missed one var for config option 2025-02-28 17:45:53 -07:00
tschettervictor
22456b0d7c create: Remove config option 2025-02-28 17:45:10 -07:00
tschettervictor
6fcbdef5eb bootstrap: Remove config option 2025-02-28 17:44:28 -07:00
tschettervictor
24eefc325f bootstrap: Allow bootstrapping with custom config 2025-02-28 17:32:45 -07:00
tschettervictor
9e9cef90d4 create: Override shellcheck for sourcing variable 2025-02-28 17:22:46 -07:00
tschettervictor
320bcde2b2 create: Allow specifying a custom config file to override default 2025-02-28 17:15:10 -07:00
tschettervictor
223c538680 create: Fix spacing in help command 2025-02-28 13:05:13 -07:00
tschettervictor
3acd06a0f1 create: Allow setting zfs options on creating jail
#514
@s1dh

Run 'bastille create help' to see syntax
2025-02-28 12:59:48 -07:00
tschettervictor
bb228a4f74 export: Break on no options 2025-02-28 12:04:33 -07:00
tschettervictor
b734b926c2 export: Reset options 2025-02-28 12:03:08 -07:00
tschettervictor
1c0ed95e63 export: Fix expr syntax 2025-02-28 11:59:56 -07:00
tschettervictor
34a0582075 export: Add debug mode 2025-02-28 11:57:20 -07:00
tschettervictor
295612da5f create: Do not check running if empty jail 2025-02-28 11:49:29 -07:00
tschettervictor
7ddff7fa94 export: Restructure code for new functions 2025-02-28 11:25:17 -07:00
tschettervictor
0106df5259 import: Support importing to specific release
#360
2025-02-28 00:18:42 -07:00
tschettervictor
00368cb71f import: Get default interface in set to "none" or auto 2025-02-28 00:07:14 -07:00
tschettervictor
b333a99cdc import: Import jails using new interface format (iocage,ezjail)
Imported jails from iocage and ezjail should now be imported using the new "if|ip" format and overall better handling on the network side of the import.
2025-02-27 23:50:00 -07:00
tschettervictor
dd4b1fb6ba import: Fix var -n > -eq 2025-02-27 22:58:51 -07:00
tschettervictor
b69f180c59 list: Properly list json 2025-02-27 17:59:52 -07:00
tschettervictor
bbc89e36a5 list: Support json format when listing all jails 2025-02-27 17:52:20 -07:00
tschettervictor
8e4f09cf8b Merge pull request #876 from tschettervictor/allow-encrpyted-send
create: Send without -R for encrypted bastilleroot
2025-02-27 17:29:10 -07:00
tschettervictor
bc1bd45d53 list: Update help 2025-02-27 17:21:58 -07:00