Commit Graph

1522 Commits

Author SHA1 Message Date
tschettervictor
f1fd20e296 Fix shell check 2025-04-28 15:51:25 -06:00
tschettervictor
9ac1a10ce2 lsit: Refactor code 2025-04-28 15:39:53 -06:00
tschettervictor
019ff3dd1f list: First draft of using config to get variables 2025-04-27 20:03:43 -06:00
tschettervictor
a168505223 restart: Pass only options that are allowed to stop 2025-04-26 20:36:17 -06:00
tschettervictor
c43a9e054a restart: Exit if not only 1 arg 2025-04-26 20:20:05 -06:00
tschettervictor
f4ab5aea98 restart: Only restart jail that are already running 2025-04-26 20:15:04 -06:00
tschettervictor
9be80bdc75 Merge branch 'master' into netgraph-support 2025-04-26 18:40:59 -06:00
tschettervictor
fe08a6a63e destroy: error_exit > error_continue 2025-04-26 18:40:17 -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
d02737a619 network: validate_netconf > validate_netconf_network 2025-04-26 11:40:08 -06:00
tschettervictor
c7243e4e1f create: Fix || > && 2025-04-26 11:36:38 -06:00
tschettervictor
65ebde4ffc clone: Fix || > && 2025-04-26 11:36:01 -06:00
tschettervictor
7225e23af6 create: Change function (validate_netconf) name to differentiate between other commands 2025-04-26 11:32:59 -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
e843f97d3b Update create.sh 2025-04-26 11:29:24 -06:00
tschettervictor
015db9a095 Update common.sh 2025-04-26 11:14:19 -06:00
tschettervictor
b50dbe112e Update common.sh 2025-04-26 11:07:44 -06:00
tschettervictor
6191879630 Update create.sh 2025-04-26 11:04:09 -06:00
tschettervictor
ac7ffe4b0a Update common.sh 2025-04-26 11:02:39 -06:00
tschettervictor
b3f4eebfdc create: Exit if network type not set 2025-04-26 10:49:07 -06:00
tschettervictor
8c0b2b887b import: Support netgraph 2025-04-25 20:57:32 -06:00
tschettervictor
51664b34b0 fix _ 2025-04-25 20:50:27 -06:00
tschettervictor
df3285f205 netgraph: Add support for network command 2025-04-25 20:48:37 -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
11d87a71e2 template: Add comments about warning when ARG not set 2025-04-24 11:05:43 -06:00
tschettervictor
2eda46ee76 template: Only warn on ARG not set 2025-04-24 10:45:26 -06:00
tschettervictor
fffaa41036 create: Only list IPv4 for _gatway 2025-04-24 10:12:56 -06:00
tschettervictor
c16f48db0e template: Don’t show usage on ARG/no value supplied 2025-04-23 21:39:31 -06:00
tschettervictor
963dbe09c9 mount: Create host path if it doesn’t exist 2025-04-23 19:58:09 -06:00
tschettervictor
9633ce3c8f bootstrap: Bugfix when bootstrapping multiple templates 2025-04-23 18:45:19 -06:00
Barry McCormick
ed9ba44035 Merge pull request #919 from BastilleBSD/list-jail-name
list: Do not list Path and Hostname + list Name
2025-04-23 08:49:42 -07:00
Barry McCormick
0c2d16565e Merge pull request #962 from BastilleBSD/tschettervictor-patch-1
New setup command with checking enabled to prevent overwriting existing configurations.  And individual switches to configure specific items individually.
2025-04-23 08:46:13 -07:00
tschettervictor
5dfe7e958c setup: PF > Firewall (pf) 2025-04-22 23:00:22 -06:00
tschettervictor
73480093a9 Update setup.sh 2025-04-22 22:56:14 -06:00
tschettervictor
097ad8395b Update setup.sh 2025-04-22 20:32:53 -06:00
tschettervictor
de4aaf4b7b docs: Update setup 2025-04-22 17:01:33 -06:00
tschettervictor
485889285f typos 2025-04-22 13:31:56 -06:00
tschettervictor
8875ab3d17 setup: fix shellcheck 2025-04-22 13:31:09 -06:00
tschettervictor
bcf7a4462b setup: Onlly allow loopback or shared interface 2025-04-22 13:25:44 -06:00
tschettervictor
283668c0b1 Update setup.sh 2025-04-22 12:59:38 -06:00
tschettervictor
1bc187180d Update setup.sh 2025-04-22 12:55:02 -06:00
tschettervictor
f64a33c231 Update setup.sh 2025-04-22 12:48:45 -06:00
tschettervictor
dc0eedecc0 setup: Add option to create a bridge for bastille 2025-04-22 12:46:36 -06:00
tschettervictor
fc8dc97557 setup: More fixes 2025-04-22 11:16:25 -06:00
tschettervictor
93fe3c8e47 destroy: Remove deprecated ref to bastille_list 2025-04-22 09:11:05 -06:00
tschettervictor
72f09edb11 create: Fix spacing 2025-04-22 09:08:42 -06:00