summaryrefslogtreecommitdiff
path: root/ezjail-admin
AgeCommit message (Collapse)Author
2010-01-14Introduce a default flavour setting, also fix some leftovers from renaming default to example. Many thanks to Panagiotis J. Christiaserdgeist
2010-01-12Allow the user to continue with ZFS operations if the pool is in a DEGRADED state, but warn about it.cryx
2010-01-11Remove bashism, use freebsd-updates way to wait randomly. Thanks to Panagiotis J. Christiaserdgeist
2010-01-11HEADS UP: Rewrote code that writes jail configs, also fixed many flaws in the config subcommand.erdgeist
2010-01-08make ezjail-admin always return 0 on success. Thanks to Justin Headerdgeist
2010-01-08add jail id to every jail ip-lineerdgeist
2010-01-08make it clearer, that multiple addresses are listed on multiple lineserdgeist
2010-01-08Rearrange space in ezjail-admin list... more needs to be done vor v6 addresses.erdgeist
2010-01-08Check for zfs_enable was invertederdgeist
2010-01-08Fix if[]-typo, fix spacing before secondary lines in ezjails with multiple ip addresseserdgeist
2010-01-08erdgeistify styles, remove white spaces, support multiple ip addresses bettererdgeist
2010-01-03Check for the mountpoint before setting it.cryx
2010-01-03Fix a bug in ezjail-admin install where the zfs-dataset was not mounted correctly under the ezjail-directory.cryx
2009-12-29Use the jails FIB when attaching via ezjail-admin consolecryx
2009-12-29wrong checking for the fib being an integercryx
2009-12-28Support for setting and using jail-bound ZFS datasets, cpuset(1) and setfib(1).cryx
Jail-bound ZFS datasets still need the usual zfs+jail stuff like security.jail.mount_allowed=1 and security.jail.enforce_statfs=0 as well as "add path zfs unhide" in the devfs.rules for the jail. The setfib utility requires FIBs to be enabled via kernel-config. All features need at least FreeBSD 7.1-RELEASE.
2009-12-28"It seems that FreeBSD 8 does not like to start rc scripts named *.sh."cryx
Patch from http://docs.freebsd.org/cgi/getmsg.cgi?fetch=0+0+archive/2009/freebsd-jail/20091227.freebsd-jail
2009-08-21variable defaults for ZFS supportcryx
2009-08-21Make archive use the cpio archive format. Also fix some Warning message.erdgeist
2009-05-27Fix ZFS creation when using ezjail-admin installcryx
2009-05-24Do the testing in a nicer way.cryx
2009-05-24Do better checks if ZFS is enabled and if the running ZFS implementationcryx
is supported.
2009-05-23First chunk of ZFS support in ezjail.cryx
ezjail is now capable of managing jails in seperate ZFS filesystems and to manage basejail and newjail in seperate ZFS filesystems too. It is possible to mix non-ZFS jails with ZFS jails as well as using ZFS jails with basejail/newjail in a non-ZFS filesystem. To create a zfs jail you need an existing ZFS pool, ZFS needs to be enabled in /etc/rc.conf and you have to set at least ezjail_jailzfs in ezjail.conf. To let ezjail manage basejail/newjail in ZFS filesystems to, you have to enable ezjail_use_zfs in ezjail.conf. To use ZFS support in ezjail, you have to use at least FreeBSD 7-STABLE form after the commit of ZFS version 13 (commited Wed May 20 23:34:59 2009 UTC, http://svn.freebsd.org/viewvc/base?view=revision&revision=192498) of FreeBSD 8-CURRENT. Prior versions of ZFS are _not_ supported. Creating a ZFS based jail is as easy as using 'ezjail-admin create -c zfs <jailname> <jailip>'. Using zfs send/receive for archiving is not yet implemented. Converting non-ZFS basejail/newjail setups into ZFS setups is not handled by ezjail, converting non-ZFS jails into ZFS jails is not yet handled by ezjail but will be possible in the future. WARNING: ZFS is considered to be an experimental feature in FreeBSD. ZFS support in ezjail is work in progress.
2009-02-02Using posix (2001) format instead of the outdated ustar to archiveerdgeist
2008-10-22Setting defaults the more elegant bourne shell styleerdgeist
2008-09-26Preparing ezjail for 3.0RELEASE_3_0erdgeist
2008-07-18NOOO! We do not want to install word! Never! Thanks to Georg Hartzell for pointing that out.erdgeist
2008-07-17anoncvs.at.freebsd.org does no longer existerdgeist
2008-07-16Finally modernize behaviour of ezjail-admin update.erdgeist
It no longer rebuilds the whole world by default. Also add a -u option that utilies freebsd-update to update the world.
2008-07-13echo needs a -e switch in order to handle newlines correctlyerdgeist
2008-07-13Fixed one unverfied copy'n'paste actionerdgeist
2008-07-10Add -P -M and -S switches to ezjail-admin install.erdgeist
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.
2008-07-09A control character slipped into the scripterdgeist
2008-07-09Embarrassing boolean expression mistakeerdgeist
2008-07-09Move image mount logic into a functionerdgeist
Fix image jail size stat to follow symlink
2008-07-08Direct find to 'find .' instead of 'find *' to allow for dot-files to be found and too many parameters never to occurerdgeist
2008-07-08Typo in installerdgeist
2008-07-08Fix typos and add lots of documentation.erdgeist
2008-07-07Typo in imported image sizeerdgeist
2008-07-07When restoring, use rcorder-lines from old ezjails configerdgeist
2008-07-07Fix a problem where we can not detach a jail after its creation, because we're still inside its root directory.erdgeist
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.
2008-07-06Making paths absolute did not work correctly. Also move commands handling multiple jails to a for loop instead of a while looperdgeist
2008-07-06Use sh\'s own line splitting algorithm instead of cuterdgeist
2008-07-06Fix pathname substitution to prevent incorrect retrieval of soft links, when creating a jail from archive.erdgeist
2008-06-04Make deletes less verbose. also rename tmpfile to ezjail_tmpfileerdgeist
2008-06-01Saving config from archive to tempfile in order to source iterdgeist
2008-05-19Fix quoting errors.erdgeist
2008-05-11Fix 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-04-02when specifying jail name, options must not be quotederdgeist
2008-03-23Default login command changed from /bin/sh to /usr/bin/login -f rooterdgeist