293 Commits

Author SHA1 Message Date
erdgeist
6a629c1634 Add a switch to make all jails use its own zfs by default, also provide a parameter to specify default zfs options 2012-09-08 17:53:18 +00:00
erdgeist
5f9fafd80f make ezjail-admin list not print an error when there are no jails 2012-09-08 15:17:02 +00:00
erdgeist
4037d12aaa Cleanup zfs code. Make sure, ezjail_zfs_properties are properly passed. Move checks for ezjails zfs to a central location. Fix typos 2012-09-08 15:09:47 +00:00
erdgeist
7646f7e777 FreeBSD versions before 8.0 did not know about jls -n. Use the old check for now. Thanks to Fahad. 2012-05-06 00:58:06 +00:00
erdgeist
542f046fab Unset variable to ensure the warning message being displayed 2012-04-25 14:56:34 +00:00
erdgeist
e816b71f2d Small typo in unpacker 2012-04-24 11:47:30 +00:00
erdgeist
d8d44a7159 Include the .* in the quoted expression to prevent unwanted expansion 2012-04-06 12:13:39 +00:00
erdgeist
da4aef5754 Remove schg flags from old basejail before installing a new one over it 2012-01-28 16:38:48 +00:00
erdgeist
9a22c28856 Have the test for local addresses be done by ping while trying to send from the IP to the IP. The intermediate approach using nc did not work in 9.0 2012-01-15 18:49:57 +00:00
erdgeist
3095bd5900 Test for locally configured IP addresses by trying to bind nc to it. Thanks to Thomas Steen Rasmussen and #bsdports 2012-01-14 20:55:27 +00:00
erdgeist
cea94f977d Fix regex to grep for pids in a running Jail. Thanks to Thomas Steen Rasmussen. 2012-01-14 20:00:55 +00:00
erdgeist
6b516a3905 ezjail-admin delete -f now not any longer stops all jails but only the one to be deleted. Thanks to Thomas Steen Rasmussen 2012-01-14 17:02:10 +00:00
erdgeist
7e51a9b14e Counting ezjail-flavours did not work correctly 2012-01-09 23:40:45 +00:00
erdgeist
f7b8001a06 Correct version information 2012-01-07 14:39:51 +00:00
erdgeist
ddc88c9975 Make flavourize script a new style rc command 2012-01-07 05:16:48 +00:00
erdgeist
05326abfee query_ftp_server broke a loop to far above 2012-01-07 03:42:14 +00:00
erdgeist
277a67a83d Fix white space issue 2012-01-04 18:30:02 +00:00
erdgeist
db7d3c5d3d Fix logic in the non-RELEASE ftp server query 2012-01-04 18:27:27 +00:00
erdgeist
d2e5306669 Try to unify installarch and installplatform so that query_ftp_server can work with it, too 2012-01-04 18:17:47 +00:00
erdgeist
e9fa188e70 From FreeBSD 9.0 on there's no need to install extra man pages. The come with the base pkg. 2012-01-02 05:17:54 +00:00
erdgeist
7a817c42e7 Older bsdtar version can't decompress on the fly. Use xzdec instead 2012-01-02 05:03:13 +00:00
erdgeist
864e6d12b6 Some more subtle changes in the new release directory structure 2012-01-02 04:54:05 +00:00
erdgeist
fe8e579fef Preparing ezjail to work with new release directory layout 2012-01-02 04:37:27 +00:00
erdgeist
cedf263041 Reflect new style of setting up flavours in ezjail-admin 2011-11-07 04:33:27 +00:00
erdgeist
8228b950df Fix: When stopped jail , ezjail-admin console is successfull. Thanks to Tsubasa Nomura 2011-07-27 11:20:32 +00:00
erdgeist
365dfd16bc Fix typo 2011-06-14 22:18:29 +00:00
fred
6b743d08ad Consolidate the start/stop logic in one place 2011-04-25 17:42:44 +00:00
fred
6831439749 Simplify the rcorder call in `ezjail-admin list' 2011-04-25 13:25:25 +00:00
fred
76c2b21f00 Add -U in the getopts line. Only one = in a [ test. 2011-04-05 09:17:54 +00:00
erdgeist
283c672f39 Include experimental support for upgrading the basejail 2011-03-14 01:31:14 +00:00
erdgeist
b3c7e95edb Fix argument passing to grep 2011-03-07 04:04:25 +00:00
erdgeist
7e5a83e308 Make the warning about the IP address being already used work with processes bound to * in a jail with multiple IP addresses 2011-03-07 03:57:49 +00:00
erdgeist
e453770282 The default archive directory now is not '.' anymore, but $\{ezjail_jaildir\}/ezjail_archives 2011-01-20 21:20:36 +00:00
erdgeist
38bd97262a Fix bug: ezjail-admin install -M and ezjail-admin install -S only installed to staging directory, not into basejail. 2011-01-20 14:23:59 +00:00
erdgeist
1e718d4c5f Prepare old jails for deletion. Thanks to Piotr Kucharski 2010-05-31 18:00:00 +00:00
erdgeist
560c3b2234 Also look in FreeBSD-Archive for the requested distribution, thanks to Joan Picanyol i Puig. 2010-05-26 00:53:05 +00:00
erdgeist
886afa20e4 Games are gone 2010-05-26 00:16:21 +00:00
erdgeist
0efb902d4d Report zfs jails as such in ezjail-admin list, needs documentation 2010-04-25 22:05:47 +00:00
erdgeist
fdcbdec643 Also look in FreeBSD-Archive for the requested distribution, thanks to Joan Picanyol i Puig 2010-04-08 21:03:25 +00:00
erdgeist
1a26436e7c Don't force a default flavour over a restore or create -x 2010-03-17 10:16:20 +00:00
erdgeist
1f0f731722 while not in the ports, ezjail-admin will now report the correct version, if checked out from CVS 2010-03-05 09:51:51 +00:00
cryx
df3a3ee133 Missing && 2010-02-16 22:33:52 +00:00
cryx
95fe262379 $0 is /etc/rc here, so doing rm -f "${0}" would leave the jail without /etc/rc after the first start. 2010-02-16 22:19:49 +00:00
erdgeist
637f44b4c5 * Create new jails with jail_JAILNAME_exec_start instead of jail_JAILNAME_exec
* ezjail.sh replaces empty _exec_start with _exec and unsets _exec
* When writing the config obey old settings, don't overwrite with defaults
2010-02-14 23:34:37 +00:00
erdgeist
6a81003aee Make ezjail-list not wider than 80 chars, if possible 2010-02-11 17:32:25 +00:00
erdgeist
bd9c449552 Consider this to be the second part of the changes that started in 1.247
We no allow multiple flavours to be installed at once, feed them space separated to the -f option in ezjail-admin create
This installs several ezjail.flavour scripts into / of the new jail, enumerating them /ezjail.flavour.0001 through 9999
It also adds a new script to /etc/rc.d/ezjail-config in the new jail which executes /ezjail.flavour.* as it finds them.

On an unrelated note ezjail-admin delete and console will now use the onestop and onestart parameters if used with -f, so they even work with ezjail_enable not set.
2010-02-08 05:05:04 +00:00
erdgeist
df43f15334 Make the Makefile install nullmailer-example, as well 2010-02-08 04:03:47 +00:00
erdgeist
0d48d3af01 Revert parts of the changes from 1.243, from now on we install a working make.conf again 2010-02-08 03:22:37 +00:00
erdgeist
b7a57fe329 Ensure that no-ip jails are listed as well 2010-02-05 11:27:28 +00:00
cryx
9a3ccdcbb7 - fix adding a .device entry into the fstab of a zfs-backed jail when renaming
- don't unmount a zfs-backed jail when starting it fails
2010-01-24 18:33:09 +00:00