Commit Graph

136 Commits

Author SHA1 Message Date
9fcf0beb9c fix #15: do not try to execute pf if there's no ip address configured 2024-10-06 16:20:11 +02:00
a293128eea fix #26: show correct usage after clone/create 2024-10-06 16:10:28 +02:00
27aada4b8e fix #24 (part II): always respond to -h with usage message 2024-10-06 16:08:19 +02:00
db33a41983 fix #24 (part I): get rid of perl, check for external programs 2024-10-06 16:04:45 +02:00
6fad6cd2f9 Merge branch 'main' of github.com:TLINDEN/jaildk 2024-09-18 10:31:42 +02:00
cafc20e743 implement #20: added -s parameter to base command to instal scripts 2024-09-18 10:30:55 +02:00
cf812919cb fix #19: bootstrap pkg when building a new base 2024-09-18 10:24:23 +02:00
e2aa249464 fix reinstall aboriting with jail -m doesnt exist 2024-09-18 10:21:44 +02:00
T.v.Dein
4dab8e10ea Merge pull request #22 from TLINDEN/develop
Fix ipfw call
2024-09-17 14:02:40 +02:00
Thomas von Dein
20f95781d9 fix makefile 2024-09-17 13:58:42 +02:00
ad1333ebb0 fix #21: only execute ipfw stuff if there's an ipfw.conf 2024-09-17 13:55:20 +02:00
T.v.Dein
514d0adeda Merge pull request #18 from Culsu/main
fixed an issue when trying to start a build-chroot with explicit base…
2024-06-26 18:13:06 +02:00
Culsu
22e02b7ce5 fixed an issue when trying to start a build-chroot with explicit base and version, fixed an issue with optargs indices 2024-06-26 12:05:02 +02:00
Thomas von Dein
2151ad6cc8 fix #16: call jaildk_start with -m interanally as well 2023-09-21 12:02:30 +02:00
Thomas von Dein
f43da7f0b0 finally fix https://github.com/adoyle-h/bash-completor/discussions/2 by just using the rc-scripts directly 2023-09-19 16:59:11 +02:00
Thomas von Dein
cbac202c38 sub completion still fails, revert 2023-09-18 18:15:56 +02:00
Thomas von Dein
0ce95ca7df try to fix rc -r 2023-09-18 18:11:21 +02:00
Thomas von Dein
7dded1c766 fix mode examples 2023-09-13 11:04:54 +02:00
Thomas von Dein
75cfd32c56 oh markdown, fuck off! 2023-09-13 10:58:09 +02:00
Thomas von Dein
36aa198eb8 Add information about breaking changes 2023-09-13 10:54:39 +02:00
Thomas von Dein
0541b99f5f Change -m params, bump version to 2.0.0, fix completion, reorg repo 2023-09-13 10:38:47 +02:00
Thomas von Dein
394e06e4f1 added completion support 2023-09-12 19:16:48 +02:00
Thomas von Dein
3de7933f97 added completion support 2023-09-12 19:15:45 +02:00
Thomas von Dein
e2c08a0235 fix-typo 2022-04-24 15:39:30 +02:00
Thomas von Dein
22adcd57c4 fixed vnet ipv6 interface config 2022-02-25 12:08:25 +01:00
Thomas von Dein
ad9ce1cfed fixed ipv6 pf rule generator 2022-02-22 19:14:41 +01:00
Thomas von Dein
768a051108 added prune command 2022-02-16 12:22:13 +01:00
Thomas von Dein
3437d7dce4 fixed mtree rc mode 2022-02-01 13:23:16 +01:00
Thomas von Dein
095819819e fixed mtree rc mode 2022-02-01 13:16:06 +01:00
Thomas von Dein
06baba0514 clone dir only if dst not empty 2021-07-18 19:49:30 +02:00
Thomas von Dein
60b8c0849a fix status base 2021-07-10 20:17:16 +02:00
Thomas von Dein
4c9667cdb6 fix v4 rdrs 2021-07-10 19:44:55 +02:00
Thomas von Dein
88b5f1c26b added syslog logging to ex() so that we always see wht jaildk did 2021-07-07 11:27:18 +02:00
Thomas von Dein
4d81b9c14b fixed pf ipv6 rule generation 2021-07-07 07:21:22 +02:00
Thomas von Dein
3c7fdf45db hm 2021-07-06 23:23:21 +02:00
Thomas von Dein
59967ab531 add auto_linklocal 2021-07-06 23:21:02 +02:00
Thomas von Dein
9409061e03 init 2021-07-06 21:51:20 +02:00
Thomas von Dein
426306457a fixed pf rdr, using ip w/o mask 2021-07-06 20:25:19 +02:00
Thomas von Dein
4d910f6d95 fixed pf multiple port feature 2021-07-06 20:12:27 +02:00
Thomas von Dein
0e99f015f3 forgot update -f check 2021-07-06 12:12:46 +02:00
Thomas von Dein
e3502c1258 added update command 2021-07-06 12:11:23 +02:00
Thomas von Dein
f4741dac5f fixed clone 2021-07-05 19:05:45 +02:00
Thomas von Dein
d53dc0549f fixed status output, didnt parse vnet jails w/o ip address correctly 2021-07-05 14:54:35 +02:00
Thomas von Dein
134076e74c fix typo 2021-07-05 14:37:17 +02:00
Thomas von Dein
938fc3a38b better status output 2021-07-05 14:35:24 +02:00
Thomas von Dein
3a3dce8903 Refactored:
- internal functions do not have the jaildk_ prefix anymore, this
  is now reserved for interactive commands only.
- added variable precedence using 'local' keyword to avoid variable
  conflicts etc.
- supress 'typoe' output
. use here-doc for vnet usage
2021-07-05 14:26:10 +02:00
Thomas von Dein
2d1e3ceef9 - simplified main switch statement
- status displays exposed ip of vnet jail
2021-07-04 20:46:52 +02:00
Thomas von Dein
6b4f80cf55 - (re) allow login :)
- added error checking to vnet command
2021-07-04 12:49:34 +02:00
Thomas von Dein
8c760ef130 added check if run as root 2021-07-04 12:27:17 +02:00
Thomas von Dein
10cb98bb57 fixed vnet ipv6 configuration, syntax error 2021-07-04 11:52:04 +02:00