erdgeist
ee32fbf4d8
Do not check for success when starting or stopping jails configured as norun
2014-06-09 23:43:29 +02:00
Dirk Engling
932086bcb7
Add the troubleshoot subcommand
2014-06-09 23:30:46 +02:00
Dirk Engling
8798063e84
Lots of spelling fixes in comments and man pages submitted by Paul Ivanov
2013-12-07 03:18:16 +01:00
erdgeist
c95e27fc2f
Fix grepping for jid. This did not work for jids over 99999. Thanks to Mathieu Arnold
2013-11-13 16:12:15 +00:00
erdgeist
438b0ed74b
Fix a bug where ezjail-admin restore would not use the jail name from the archive when restoring from the archive and not from jail name. Thanks to Ollivier Robert for reporting
2013-10-14 16:44:50 +00:00
erdgeist
4af41642ca
Fix invalid control character
2013-10-14 16:29:46 +00:00
erdgeist
4bdf4e4a13
Create /var/ports/packages as promised in our make.conf, thanks to Koslov Sergey
2013-09-25 17:34:04 +00:00
erdgeist
b267b62dad
Make the test for jail feature official
2013-09-01 13:09:43 +00:00
erdgeist
79007d81e4
make ezjail-admin update -U now also work with patch levels. Thanks to Sebastian Jäschke
2013-07-23 00:00:54 +00:00
erdgeist
ca52d77c09
Fix a missing if. Also drop patch level suffixes when detecting host system version
2013-05-18 16:26:08 +00:00
erdgeist
e836630271
apply freebsd-update on the newjail, as well
2013-05-17 22:36:03 +00:00
erdgeist
fd1df9a99b
We don't want the forces freebsd-update pagers in our scripts
2013-05-17 21:14:48 +00:00
erdgeist
cf8fbae481
Use freebsd-update to update to current patch level before splitting the basejail from newjail
2013-05-17 19:59:26 +00:00
erdgeist
721ae5e99d
change retention policy so that per window the oldest and the newest snapshot is kept, unless the newer one is not new enough ;)
2013-05-10 19:12:50 +00:00
erdgeist
0713769a19
Fix error report by passing echo the -n parameter. Thanks to 乃村翼
2013-05-01 18:38:18 +00:00
erdgeist
0ddb055c5a
Put an example retention policy in sample config
2013-04-24 03:15:58 +00:00
erdgeist
9dcfe49b30
ezsnaps are recursive
2013-04-24 03:06:00 +00:00
erdgeist
377e133248
Remove debug output
2013-04-24 03:03:04 +00:00
erdgeist
76c442babe
introduce ezjail-admin snapshot. Experimental
2013-04-24 03:01:19 +00:00
erdgeist
f236990415
Use default, even if variable is null, not unset
2013-04-24 02:59:55 +00:00
erdgeist
c628bd5ca1
Rename ezjail_parentfs to ezjail_parentzfs. Also save the ezjail_parentzfs for new jails so that they can later be removed from the correct pool
2013-04-20 01:16:17 +00:00
erdgeist
40aa45474a
Properly close quotes
2013-04-20 00:49:58 +00:00
erdgeist
e38c8e43ef
Check for parent filesystem when using an alternative one
2013-04-20 00:34:58 +00:00
erdgeist
11f04b1db0
Actually allow for the parentzfs parameter in getopt
2013-04-20 00:19:16 +00:00
erdgeist
8f36c7002b
Test for the IP address on local interfaces only, if it is not prefixed by an interface name
2013-04-14 18:40:36 +00:00
erdgeist
0832cfa91d
If jail IPs are specified with an interface prefix, drop it for display and test functions
2013-04-14 17:49:55 +00:00
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