154 Commits

Author SHA1 Message Date
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
Thomas von Dein
1ac169d64f wrong order of parameters 2020-11-27 19:29:37 +01:00
Thomas von Dein
d369bc4d87 various fixes:
- enhanced port installation
- added jail.conf variable ports=YYYYMMDD
- fixed build and install bugs
- exit on mount error
- check existence of src+dst before mounting
- only remove stuff in a new base in non-ports mode (!rw)
- fixed fetch runner
2020-11-27 19:08:57 +01:00
Thomas von Dein
e6ab439f0f Several modifications to ports support
- ports are only mounted to a build chroot if it uses a buildbase
- added building of a buildbase with jaildk base $name rw
- added a separate internal rcd-function jaildk_rc_ports for
  mounting and umounting ports, which ONLY operates in buld mode
- added som documentation about this in the README
2020-11-27 08:52:58 +01:00
T.v.Dein
fd855c560b Merge pull request #4 from Culsu/main
Portcollection support
2020-11-27 08:20:37 +01:00
Charlie Root
2cb4d4747a Added umount for "jaildk build $jail stop" aswell 2020-11-26 22:25:45 +01:00
Charlie Root
c0e1c2e289 Added support for using the ports collection, and a jaildk fetch function to easily fetch ports 2020-11-26 22:08:19 +01:00
Thomas von Dein
49da499468 fixed building ot .template/etc-$version/ in setup() 2020-11-26 12:36:36 +01:00
T.v.Dein
16f538bc42 Merge pull request #3 from Culsu/setup-fix-issue1+2
fix for issue#1 and issue#2
2020-11-26 11:08:59 +01:00
Charlie Root
6e2984ba0d fix for issue#1 and issue#2 2020-11-26 09:02:28 +01:00
Thomas von Dein
885e928a5c mounting base dir read-only, everytime + bump version 2020-11-25 11:10:01 +01:00
Thomas von Dein
1727aa5ece mounting base dir read-only, everytime 2020-11-25 11:09:10 +01:00
Thomas von Dein
3b282dad46 fix csh syntax error 2020-11-25 10:45:13 +01:00
Thomas von Dein
55efd8e87b restore invalid commit 2020-11-25 10:42:52 +01:00
Thomas von Dein
549a803bf8 build fixes 2020-11-25 10:27:19 +01:00