Commit Graph

68 Commits

Author SHA1 Message Date
Thomas von Dein
ee34a551b5 same with base 2020-12-13 14:58:54 +01:00
Thomas von Dein
906c59aee8 fix version conflict 2020-12-13 14:54:16 +01:00
Thomas von Dein
6bcdb1ac20 version 2020-12-13 14:49:39 +01:00
Thomas von Dein
25d207daf7 _ fix 2020-12-13 14:45:08 +01:00
Thomas von Dein
26b000dff5 do not fiddle w/ networking on build chroot's 2020-12-13 14:43:18 +01:00
Thomas von Dein
914d4c24f8 fetch => fetchports (more clarity) 2020-12-13 14:37:20 +01:00
Thomas von Dein
643c10d777 catch invalid usage 2020-12-13 14:24:14 +01:00
Thomas von Dein
2f38a0c7d8 fixed "jaildk status' (w/o jail) and jaildk_rc all 2020-12-13 14:17:13 +01:00
Thomas von Dein
9a420006c5 Merge branch 'dev' into main 2020-12-04 20:35:11 +01:00
Thomas von Dein
b26f64ed4e +path 2020-12-03 19:06:03 +01:00
Thomas von Dein
8f10788e55 added pf support 2020-12-03 19:01:05 +01:00
Thomas von Dein
615939bccd various modifications to pull request #10:
- re-fill paragraphs in README
- added section about booting ipfw rules
- added way to execute ipfw function from commandline (required
  for booting)
- enhanced ipfw.conf parser
- enhanced ip address parsing
- added v6 support
- added jail.conf variable support
2020-12-01 18:40:32 +01:00
T.v.Dein
cc30589b1f Merge pull request #10 from Culsu/dev
IPFW support
2020-12-01 18:04:31 +01:00
Culsu
6c544268ed separated add and delete into their own functions. 2020-11-30 23:04:30 +01:00
Culsu
dd55fb6ca5 changed some of the new text... 2020-11-30 22:48:11 +01:00
Culsu
5a779ea249 some readme styling.. :-) 2020-11-30 22:45:24 +01:00
Culsu
3270db0d78 added ipfw section to the readme 2020-11-30 22:42:48 +01:00
Culsu
de04b88e19 Added ipfw.conf functions for jail start/stop, to manage firewalling 2020-11-30 22:37:18 +01:00
Culsu
62617b89cf added a security check for overwriting the hostname inside the jails rc.conf 2020-11-30 22:22:36 +01:00
Culsu
a041a0d0cb Added ipfw.conf functions for jail start/stop, to manage firewalling 2020-11-30 22:17:49 +01:00
Thomas von Dein
f0690c74eb satzbau zefix 2020-11-30 19:31:22 +01:00
Thomas von Dein
46b298f016 hups 2020-11-30 19:30:12 +01:00
Thomas von Dein
3840643ec6 wrong help screen 2020-11-30 19:28:41 +01:00
Thomas von Dein
29e51de9bd fix 2020-11-30 19:23:21 +01:00
Thomas von Dein
fc8fb3bb94 more doc 2020-11-30 19:22:02 +01:00
T.v.Dein
b5cc5842f5 Merge pull request #9 from Culsu/dev
Some convenience functions
2020-11-30 16:13:31 +01:00
Culsu
fd005a5404 jlogin -> login 2020-11-29 22:34:41 +01:00
Culsu
82999c9c7a Added hint how to restart the network interface (after adding alias) 2020-11-29 22:32:24 +01:00
Culsu
21800fe55e Added hint how to restart the network interface (after adding alias) 2020-11-29 22:30:56 +01:00
Culsu
f59920e119 added a safety check 2020-11-29 22:20:46 +01:00
Culsu
61ae2100c3 Added support to automagically set the hostname in the jails rc.conf based on the hostname in /etc/jail.conf 2020-11-29 22:18:34 +01:00
Culsu
6d75ff25bf Altered the NIC IP alias to match the example 2020-11-29 20:44:34 +01:00
Thomas von Dein
90b462b46a fix typo 2020-11-29 19:03:57 +01:00
Thomas von Dein
e2193aba13 documented changed commandline syntax 2020-11-29 18:52:14 +01:00
Thomas von Dein
11c1cd4b19 switch to getopts finished. More changes:
- every interactive function has now its own help function
- added help command which calls these help functions
- made 'start' the default mode in jaildk_build()
2020-11-29 18:46:50 +01:00
Thomas von Dein
361058999b switched half of the functions to getopt() work in progress!!! 2020-11-29 16:22:36 +01:00
Thomas von Dein
ba5f4aff79 added freeze&thaw 2020-11-28 20:41:05 +01:00
Thomas von Dein
773e1387f9 fixes #8 2020-11-28 15:19:18 +01:00
Thomas von Dein
c7362f3904 fix #6:
JAIL environment variable inside build chroot leads to rc misbehavior,
since it thinks it runs inside a jail, but isn't.
2020-11-28 14:34:10 +01:00
Thomas von Dein
8cdab3fb8a fix typo 2020-11-28 12:36:49 +01:00
Thomas von Dein
54ea11a971 add /var/db so installing ports in a empty appl/ works 2020-11-28 12:35:48 +01:00
Thomas von Dein
1e9888512b oops 2020-11-28 12:34:52 +01:00
Thomas von Dein
be713ad917 fixed major bug, moved $rw to the end of all rcscript calls 2020-11-28 12:26:24 +01:00
Thomas von Dein
b9ae99b106 added check 2020-11-28 11:59:19 +01:00
Thomas von Dein
6456d797a2 bump 2020-11-28 11:53:10 +01:00
Thomas von Dein
57fa1b148a various:
- start ldconfig ONLY in build+start mode
- added rcoff union mount to avoid accidentally starting jails
  inside the build chroot
2020-11-28 11:51:38 +01:00
Thomas von Dein
37efdcb2b2 added ldconfig, modified symlinks so they work w/o mtree 2020-11-28 11:18:39 +01:00
Thomas von Dein
7b827c664e see mtree(8), change -u to -Ue:
- don't complain about existing files
- don't compplain about fixed mismatches
2020-11-28 10:59:15 +01:00
T.v.Dein
763b57a3e6 Merge pull request #7 from Culsu/main
Some bugfixes, and mtree support
2020-11-28 10:54:15 +01:00
Culsu
53da1ca917 Fixed a couple of bugs: pkg wont run proberly due to a r/o base and trying to write to some /var paths, .cshrc template was created broken - blogin and login threw an error, added a missing $ ---- added support for mtree.conf and a matching template. mtree.conf is being applied to the jails chroot. 2020-11-27 23:21:34 +01:00