2e54ff2496Grammar fixes. Thanks and a beer go out to Fred Condo.
erdgeist
2008-08-06 16:05:08 +00:00
58a43ea6a4NOOO! We do not want to install word! Never! Thanks to Georg Hartzell for pointing that out.
erdgeist
2008-07-18 18:15:41 +00:00
b956978714anoncvs.at.freebsd.org does no longer exist
erdgeist
2008-07-17 11:43:56 +00:00
0191e01c58Finally modernize behaviour of ezjail-admin update. It no longer rebuilds the whole world by default. Also add a -u option that utilies freebsd-update to update the world.
erdgeist
2008-07-16 04:25:35 +00:00
80d20cecddecho needs a -e switch in order to handle newlines correctly
erdgeist
2008-07-13 21:21:10 +00:00
a30cce7b39Fixed one unverfied copy'n'paste action
erdgeist
2008-07-13 21:15:42 +00:00
20aae5c18fAdd -P -M and -S switches to ezjail-admin install. Those commands can be used to add ports, sources and man page packages to an already installed base without reinstalling the base. Unify error reporting and try to give the user enough clues as how to go on in case of an error.
erdgeist
2008-07-10 18:55:39 +00:00
78416d679dA control character slipped into the script
erdgeist
2008-07-09 22:03:29 +00:00
d435cc730aMove image mount logic into a function Fix image jail size stat to follow symlink
erdgeist
2008-07-09 10:37:11 +00:00
79d3217cc0Direct find to 'find .' instead of 'find *' to allow for dot-files to be found and too many parameters never to occur
erdgeist
2008-07-08 23:09:51 +00:00
55d085e070Typo in install
erdgeist
2008-07-08 20:11:24 +00:00
51c6072cb8Fix typos and add lots of documentation.
erdgeist
2008-07-08 18:45:24 +00:00
9060c450c5Fix typos and add lots of documentation.
erdgeist
2008-07-08 18:30:06 +00:00
e8d0bdf714Typo in imported image size
erdgeist
2008-07-07 23:17:28 +00:00
cd753c0f87When restoring, use rcorder-lines from old ezjails config
erdgeist
2008-07-07 12:36:45 +00:00
7d9d19af7fFix a problem where we can not detach a jail after its creation, because we're still inside its root directory. Also put image size for image jails into the properties list. Auto attach image jails for archive (if possible, aka non-blocking). Actually call ezjail-admin create from ezjail-admin restore. This means, that restore is rudimentary up and running.
erdgeist
2008-07-07 04:29:32 +00:00
518ef661e1Making paths absolute did not work correctly. Also move commands handling multiple jails to a for loop instead of a while loop
erdgeist
2008-07-06 22:24:56 +00:00
aaf34bfa99Use sh\'s own line splitting algorithm instead of cut
erdgeist
2008-07-06 18:54:56 +00:00
f36423bf6cFix pathname substitution to prevent incorrect retrieval of soft links, when creating a jail from archive.
erdgeist
2008-07-06 18:17:36 +00:00
68704c8cc9Make deletes less verbose. also rename tmpfile to ezjail_tmpfile
erdgeist
2008-06-04 01:02:54 +00:00
5315494529Saving config from archive to tempfile in order to source it
erdgeist
2008-06-01 01:22:05 +00:00
265e1dc36dFix ezjail_makeabsolute, it was broken, when the provided 2nd path wasnt absolute. Also add lots of logic to the restore command. Soon will be working[tm].
erdgeist
2008-05-11 03:04:46 +00:00
f9f6858744when specifying jail name, options must not be quoted
erdgeist
2008-04-02 21:03:16 +00:00
7c281ef1f2Default login command changed from /bin/sh to /usr/bin/login -f root
erdgeist
2008-03-23 02:56:38 +00:00
0db3c2df89Include version information. Also fix an amd64 install problem.
erdgeist
2008-03-22 11:35:07 +00:00
1667d0f8defixed stray control character
erdgeist
2008-03-14 01:48:40 +00:00
1e2d49ec51abstract making absolute paths. use pax instead of tar to extract archives. Also do not report an error, if ezjail.conf is missing.
erdgeist
2008-03-14 00:17:22 +00:00
d8ead98071Reverse jail order when calling stop
erdgeist
2008-01-08 03:34:49 +00:00
b4889a5d6bFormat for property files in ezjail archive now changed to use - as seperator.
erdgeist
2008-01-08 03:34:48 +00:00
33c42bb8ceFetching first values from an ezjail archive in restore command. Still not functional.
erdgeist
2008-01-02 07:44:32 +00:00
3953315c47Guess archive name on restores
erdgeist
2008-01-02 07:03:59 +00:00
e9f9774ff6Allow restoring from a archive coming in from stdin
erdgeist
2008-01-02 06:28:04 +00:00
17df3ac4c4Fix some bugs in stdout archive code
erdgeist
2007-11-27 23:01:32 +00:00
a1d5d32554Allow for specifying - as filename if archiving to stdout is desired.
erdgeist
2007-11-27 22:11:59 +00:00
3ecbd16771Conditions checked the wrong way
erdgeist
2007-11-27 21:51:48 +00:00
f5c5e02160We need all image parameters, even when the image already existed
erdgeist
2007-10-08 02:04:59 +00:00
472830e66eAlso include stopcrypto to the list of proxied requests
erdgeist
2007-10-08 01:47:06 +00:00
f59b100fffApply coding style guides to ezjail.sh as well. Also fix bug making startcrypto useless
erdgeist
2007-10-08 01:41:02 +00:00
c3adb3ca01Also include startcrypto to the list of proxied requests
erdgeist
2007-10-08 01:32:22 +00:00
5ef11c6d04introduce -f option to getopt list of ezjail-admin delete
erdgeist
2007-10-07 23:11:24 +00:00
425dab96afLots of things changed: * delete now knows a -f switch which forces detach or stop, if jail is attached or running * restore added * archive now saves the whole tag to archive to later identify the jail and backup date * detach_images now also removes the soft link * starting/stopping a jail moved to its own function * I enforced some coding style guides * * [ -n "string" ] is replaced by [ "string" ] * * Command parameters are being quoted. This will later allow jail roots with spaces in its name * * variable assignments are always enclosed by exactly one of ${}, `` or "", (except for cases like a=${x}/${y:-"z"}). This means that a="${x}" now is a=${x} * * [ -z "string" ] && echo "Foo" is replaced by ["string" ] || echo "Foo", which normally reads out more naturally (i.e. [ "${jail_exists}" ] || exerr "Error: Jail does not exist." ) * * $? and $# are now always compared by -eq or -ne operators, not by = or !=
erdgeist
2007-10-07 21:22:28 +00:00
32bf68787bA strange utf8 char slipped into my code.
erdgeist
2007-10-02 20:20:05 +00:00
626f2fd677put the jails name into archive
erdgeist
2007-10-02 00:51:38 +00:00
0c382a5e74Started experimenting with archive and restore of jails
erdgeist
2007-09-26 15:06:40 +00:00
c404a6ae6bintroduced a console subcommand that allows attaching to a jail by it jailname. Also added documentation for that and the magic rc.d/ezjail.sh-proxy introduced before
erdgeist
2007-09-15 00:25:52 +00:00
208937d793Added short cuts to ezjail-admin that will invoke PREFIX/etc/rc.d/ezjail{,.sh} with
erdgeist
2007-09-14 23:25:04 +00:00
8bc4651429rc.d/ezjail.sh restart failed on image jails
erdgeist
2007-09-01 13:10:41 +00:00
9e7c6cfd8eCorrected path to sudoers file where to fix permissions
erdgeist
2007-09-01 13:09:32 +00:00
79efdfa036ezjail-admin create now ignores dot files when checking, whether a directory is empty. That way .snap wont mark it non-empty. However, Lost+Found still is a problem.
erdgeist
2007-02-21 04:22:08 +00:00
b5f4cc892aLearned groff (a little) and beautified the man page.
erdgeist
2007-02-21 04:20:56 +00:00
6179ac6590Check for secure level since ezjail will fail if it is -gt 0
erdgeist
2007-01-24 11:31:04 +00:00
bdbb4f9f37do portsnap cron when not invoked from command line. Do copy packages that are just linked into jail root to make them visible at run time.
erdgeist
2007-01-16 14:15:21 +00:00
b37e9be763error when umounting irritates users, this is a cleanup function, so it should silently fail, if nothing is mounted.
erdgeist
2007-01-15 14:08:17 +00:00
4251eec605Syntax check by cryx ;)
erdgeist
2006-11-15 19:05:04 +00:00
9725ed4a85HEADS UP: renaming jails has been introduced. Lots of checking will probably be required, this version is considered unstable. Also two minr style glitches have been fixed.
erdgeist
2006-11-15 18:51:22 +00:00