Commit Graph
27 Commits
Author SHA1 Message Date
Chris Wells a56c37983c Verify interface exists when starting non-vnet jail.
Closes #128.
2020-12-14 12:24:22 -05:00
Chris Wells 7675286cd3 Fix grep when UTF-8 is not used.
Support tabs and spaces in templates/config.
2020-12-12 19:17:20 -05:00
Chris Wells 54f6ef62cd Properly escape config property and value. 2020-12-11 18:27:58 -05:00
Chris Wells c2839f859e Use templates for configuring new jails.
Allow user to override default templates.

Closes #205.
2020-11-29 14:19:41 -05:00
Chris Wells b90d8c60f7 Update existing limit when a new value is provided.
Closes #233.
2020-11-29 11:34:18 -05:00
Chris Wells 5518273881 Provide JAIL_NAME and JAIL_IP as default template args.
Closes #280.
2020-11-28 19:55:41 -05:00
Chris Wells a47b0a43c9 Add missing subcommands (limits/config) to docs. 2020-11-28 19:03:46 -05:00
Chris Wells 30a8a93fe9 Display message about file/directory being rendered. 2020-11-28 18:54:14 -05:00
Chris Wells 554f2293c1 Add ability to convert "hook" files to Bastillefile format. 2020-11-28 17:50:39 -05:00
Chris Wells 351020d137 Fix bug preventing commands against stopped jails. 2020-11-28 14:04:15 -05:00
Chris Wells 4c9f1aca25 Add 'config' command to get/set jail config properties. 2020-11-28 12:09:56 -05:00
Chris Wells 5e9578ca5e Use uppercase ZFS when appropriate. 2020-11-27 19:20:47 -05:00
Chris Wells 8b4d18f8f3 Create info() and warn() for cleaner print statements. 2020-11-25 21:19:08 -05:00
Chris Wells cc513c3bed Allow port ranges in RDR parameters. 2020-11-25 20:29:15 -05:00
Chris Wells 2225f48f05 Add support for template args
Closes 211.
2020-10-30 16:05:06 -04:00
Chris Wells 3ca32fa1bc Fix typo in rdr documentation 2020-09-05 21:19:51 -04:00
Chris Wells fddb762b45 Use root as owner when installing from Makefile 2020-09-05 21:15:01 -04:00
Chris Wells c6aded8d0a Ensure target is specified and exists in 1 place instead of many.
Require target to be running for commands that need it.
Closes #239.
2020-08-30 20:15:22 -04:00
Chris Wells aaffc882f9 Create and leverage global error functions 2020-08-30 10:57:14 -04:00
Chris Wells 94df833e6b Map COPY alias in Bastillefile to use cp subcommand 2020-08-29 19:22:26 -04:00
Chris Wells 0fd46b50e5 Merge branch 'master' into template-subcommands 2020-07-09 20:38:43 -04:00
Chris Wells 7cdbe9ac3d Merge branch 'master' into template-subcommands 2020-06-20 15:15:14 -04:00
Chris Wells 016523253a Add mount and umount commands to manage volumes inside containers. 2020-06-20 11:53:38 -04:00
Chris Wells 26c41543c2 Add Bastillefile support to templates. 2020-06-20 11:53:35 -04:00
Chris Wells 42bafe7619 Execute template hooks using Bastille subcommands 2020-05-24 20:41:11 -04:00
Chris Wells 61ee522f18 Add Bastillefile support to templates. 2020-05-23 21:03:12 -04:00
Chris Wells 1d21ff58fe Add mount and umount commands to manage volumes inside containers. 2020-05-23 18:35:00 -04:00