Commit Graph

1241 Commits

Author SHA1 Message Date
tschettervictor
bc85f50529 network: Fix jail name variable 2025-01-03 07:42:02 -07:00
tschettervictor
8e5edbcd1f network: merge functions as opposed to separate
Merge add/remove functions to avoid having unnecessarily long code blocks and functions.
2025-01-03 07:32:00 -07:00
tschettervictor
e5b5f8443f code cleanup: STATIC_MAC 2025-01-02 17:02:14 -07:00
tschettervictor
0120f460d5 _o -> _opt 2025-01-01 21:17:51 -07:00
tschettervictor
0c3d484307 Implement -m switch for optional static MAC 2025-01-01 21:15:53 -07:00
tschettervictor
0f21203583 Merge branch 'master' into multiple-interfaces 2024-12-31 18:41:13 -07:00
Barry McCormick
ac39d4a169 Merge pull request #776 from tschettervictor/check_jail_exists-function
begin moving functions to common.sh (top htop)
2024-12-31 14:34:33 -08:00
tschettervictor
fedc7aa60c Remove message on return 1 2024-12-31 15:27:45 -07:00
tschettervictor
4bc76d5064 fix brace 2024-12-31 15:00:12 -07:00
tschettervictor
7a621b2e1a Merge branch 'master' into check_jail_exists-function 2024-12-31 14:58:50 -07:00
Barry McCormick
4365082bed Merge pull request #778 from tschettervictor/mount-fixes
Mount/Umount fixes and improvements
2024-12-31 13:44:50 -08:00
tschettervictor
9d7b727432 minor fix 2024-12-31 12:27:32 -07:00
tschettervictor
4c8bb692dd Add stopped function 2024-12-30 17:13:58 -07:00
tschettervictor
c46b033da1 Update clone.sh 2024-12-30 16:56:24 -07:00
tschettervictor
78949415ec force add 2024-12-30 16:55:38 -07:00
tschettervictor
3976b4f9cc fix static mac 2024-12-30 16:52:36 -07:00
tschettervictor
453c4c1028 update 2024-12-30 12:18:36 -07:00
tschettervictor
85c12f368b keep better track of interfaces 2024-12-30 12:18:11 -07:00
tschettervictor
3a9f56d3ac keep better track of interfaces 2024-12-30 12:17:26 -07:00
tschettervictor
037186febc update 2024-12-29 18:25:09 -07:00
tschettervictor
a73da1d442 small bugfix 2024-12-29 18:16:43 -07:00
tschettervictor
b201fe1582 Update network.sh 2024-12-29 17:52:06 -07:00
tschettervictor
d0fd6728b2 network subcommand 2024-12-29 17:50:53 -07:00
tschettervictor
b24f43f628 support multiple interfaces 2024-12-29 17:49:48 -07:00
tschettervictor
9f75d11744 clone support multiple interface cloning 2024-12-29 17:47:12 -07:00
tschettervictor
fa1d965caf add network subcommand 2024-12-29 17:45:45 -07:00
Juan David Hurtado G
2c4ff17c6b Merge pull request #782 from BastilleBSD/setup-config-file
Improve bastille.conf handling with user prompt for creation
2024-12-29 15:25:46 -05:00
Juan David Hurtado G
0d5b92c052 Improve bastille.conf handling with user prompt for creation
Replaced ineffective default configuration generation logic with a user-interactive prompt. Users can now choose to create the configuration file with default values if it is missing, ensuring better control and clarity. Removed redundant code from the setup script to streamline execution.
2024-12-29 15:22:17 -05:00
Juan David Hurtado G
cc782130fa Merge pull request #779 from BastilleBSD/revert-pr-770
Revert "Merge pull request #770 from tschettervictor/patch-7"
2024-12-29 10:36:05 -05:00
Juan David Hurtado G
383f968685 Revert "Merge pull request #770 from tschettervictor/patch-7"
This reverts commit 649c337055, reversing
changes made to 7d3ca7b21b.
2024-12-29 10:29:03 -05:00
Barry McCormick
649c337055 Merge pull request #770 from tschettervictor/patch-7
Allow using template in custom directory
2024-12-27 21:10:20 -08:00
tschettervictor
281fab30e6 document unmounting 2024-12-27 16:39:33 -07:00
tschettervictor
0ebdb36a87 Better docs 2024-12-27 13:59:34 -07:00
tschettervictor
68a808863a Update docs 2024-12-27 13:56:03 -07:00
tschettervictor
08f5a9a755 fix for multiple spacing 2024-12-27 13:34:14 -07:00
tschettervictor
67185a5a42 fix for multiple spacing in directiry 2024-12-27 13:33:26 -07:00
tschettervictor
3dce542d6b add check_target_exists to common.sh 2024-12-27 12:15:26 -07:00
tschettervictor
5f8c79d277 allow mounting directories with spaces 2024-12-27 12:14:04 -07:00
tschettervictor
30aa0c1408 better error handling 2024-12-27 12:13:38 -07:00
tschettervictor
86fa464957 Merge branch 'BastilleBSD:master' into mount-fixes 2024-12-27 12:11:48 -07:00
tschettervictor
3c04a88947 Merge branch 'BastilleBSD:master' into check_jail_exists-function 2024-12-27 12:09:55 -07:00
tschettervictor
b736d770cb Merge branch 'BastilleBSD:master' into patch-7 2024-12-27 12:09:45 -07:00
Barry McCormick
7d3ca7b21b Merge pull request #769 from tschettervictor/patch-6
Fix pfctl being invoked when NAT is not used + change ip var to ip4
2024-12-27 11:04:11 -08:00
Barry McCormick
5837a256da Merge pull request #691 from vrachnis/patch-1
Fix alignment when listing jails with more than one IP address
2024-12-27 09:37:56 -08:00
tschettervictor
2bd06807ce Merge branch 'master' into check_jail_exists-function 2024-12-27 08:25:58 -07:00
tschettervictor
9b354c1a2f minor tweak 2024-12-27 08:18:33 -07:00
tschettervictor
82a8d5479b minor tweak 2024-12-27 08:17:49 -07:00
tschettervictor
db0f5c5e09 minor tweak 2024-12-27 08:16:38 -07:00
Barry McCormick
43b839ad0f Merge pull request #725 from tschettervictor/master
Support static MAC address + fix clone VNET jail
2024-12-26 22:41:53 -08:00
tschettervictor
a6e4902d26 Merge changes from previous PR 2024-12-26 08:40:27 -07:00