Commit Graph

206 Commits

Author SHA1 Message Date
tschettervictor
aa14003719 create: call parse for interface 2025-05-20 12:17:20 -06:00
tschettervictor
256e40e03d create: Reorder option -n 2025-05-20 11:40:04 -06:00
tschettervictor
6bb915e4cb create: Add -n|--nameserver 2025-05-20 11:38:57 -06:00
tschettervictor
141bc10c28 create: Add -g|--gateway 2025-05-20 09:00:48 -06:00
tschettervictor
b040474bf5 basic spacing fixes for help commands 2025-05-18 17:16:17 -06:00
tschettervictor
cca2de3610 create: Use -y on destroy 2025-05-17 10:18:52 -06:00
tschettervictor
6870370003 Merge pull request #965 from BastilleBSD/mount-ufs-fix
create: Exit if jail directory is mounted under UFS
2025-05-04 15:25:16 -06:00
tschettervictor
d3cd223837 create: Error when jail is mounted using UFS 2025-05-04 15:23:52 -06:00
tschettervictor
deacd775e5 boot file to settings file change 2025-05-02 10:27:00 -06:00
tschettervictor
6ebdb4e9d7 create: Add depend value 2025-05-02 08:37:51 -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
bb47671cf0 half way point 2025-04-30 11:21:41 -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
c7243e4e1f create: Fix || > && 2025-04-26 11:36:38 -06:00
tschettervictor
7225e23af6 create: Change function (validate_netconf) name to differentiate between other commands 2025-04-26 11:32:59 -06:00
tschettervictor
e843f97d3b Update create.sh 2025-04-26 11:29:24 -06:00
tschettervictor
6191879630 Update create.sh 2025-04-26 11:04:09 -06:00
tschettervictor
b3f4eebfdc create: Exit if network type not set 2025-04-26 10:49:07 -06:00
tschettervictor
7e55510e68 netgraph: Add clone, rename 2025-04-25 20:33:09 -06:00
tschettervictor
bf443e8586 bastille: Initial support for netgraph 2025-04-25 14:33:38 -06:00
tschettervictor
fffaa41036 create: Only list IPv4 for _gatway 2025-04-24 10:12:56 -06:00
tschettervictor
4a1c5343f0 create: Allow jail dir to be mounted under UFS 2025-04-22 10:30:46 -06:00
tschettervictor
72f09edb11 create: Fix spacing 2025-04-22 09:08:42 -06:00
tschettervictor
8e559b6114 create: Fix jail not applying IP when IP already in use 2025-04-14 20:46:43 -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
37be5e52c8 docs: Once over error correction 2025-04-10 06:53:03 -06:00
tschettervictor
e3dddd25e7 Merge branch 'master' into priority-add 2025-03-26 23:30:38 -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
tschettervictor
3c88a0bcc2 fix listing priority again 2025-03-19 10:48:26 -06:00
tschettervictor
aad1158146 Add -b|--boot for start/stop/restart 2025-03-15 21:35:03 -06:00
tschettervictor
b49310cafc create: Set boot and priority values on creation 2025-03-12 16:00:56 -06:00
tschettervictor
579d1c6df0 create: destroy -f if failed to create 2025-03-12 13:33:23 -06:00
tschettervictor
49a4bed126 Merge branch 'BastilleBSD:master' into custom-config 2025-03-03 16:26:54 -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
6e7ea625b7 create: Spacing 2025-03-03 12:33:57 -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
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
71f0370cf4 create: Allow DHCP as option 2025-03-01 00:15:17 -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
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