306 Commits

Author SHA1 Message Date
erdgeist
187a3af934 Keep post_start_script jail parameters when rewriting config 2013-04-14 17:38:54 +00:00
erdgeist
712a4cdb54 Farewell CVS for ports. ezjail_portscvsroot is gone. 2013-04-11 16:37:20 +00:00
erdgeist
c8694ac703 Do not attempt to chflags the root directory after it is gone, when wiping is requested on ezjail-admin delete. Thanks to Tom. 2013-04-10 23:29:13 +00:00
erdgeist
31feb69b9c Allow user to specify another parent zfs or zpool for a new jail. This also implies -c zfs. Thanks to Cryx. 2013-04-10 21:42:56 +00:00
erdgeist
8313cd36ec We now read and dump the jail_JAIL_parameters variable. So user settings dont get lost. Thanks to Vitaliy. 2013-04-01 15:15:06 +00:00
erdgeist
0bbd3a7549 Retry freebsd-update until install fails 2013-03-27 18:42:39 +00:00
erdgeist
2d4d1c759a Handle relative paths in packages better 2013-03-27 18:36:11 +00:00
erdgeist
01c79bd59d Fixed a bug where ezjail-admin install would indicate a failure after successfully installing the base 2012-11-17 21:58:55 +00:00
erdgeist
2368ae43a7 Cleaned up the code that differentiates between pre 9.0 and post 9.0 distribution layout.
Now using fetch to remotely fetch the distribution packages for post 9.0 dists.
Using fetch allows to specify protocols other than file:// and ftp://, with ftp:// being the default.
http servers are not yet queried for the distributions provided.
2012-11-17 21:20:23 +00:00
erdgeist
e99c436bab Got the indent wrong in the last commit. So I missed a 'fi' 2012-11-08 23:15:35 +00:00
erdgeist
a9becec5ff Fix a bug where the host system's release version was not queried in case of file:/// uris 2012-11-08 23:14:17 +00:00
erdgeist
3768472b3a Fixed a problem where reuse of the ezjail_sourcetree variable led to ezjail-admin update not finding source tree. Thanks to Paul Macdonald. 2012-09-20 11:26:45 +00:00
erdgeist
d90ce7e051 Fix a bug, so that we are force starting a single jail only, when console -f is requested. 2012-09-18 16:23:28 +00:00
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