From 99c0ffc6132b6b03b0d6058f5df3a8cccfe2d81b Mon Sep 17 00:00:00 2001 From: erdgeist Date: Mon, 8 Feb 2010 05:15:20 +0000 Subject: Explain default and multiple flavours --- man1/ezjail-admin.1 | 19 +++++++++++-------- man5/ezjail.conf.5 | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/man1/ezjail-admin.1 b/man1/ezjail-admin.1 index 864e2c0..18cea26 100755 --- a/man1/ezjail-admin.1 +++ b/man1/ezjail-admin.1 @@ -7,7 +7,7 @@ ezjail-admin \- Administrate ezjail .T .B ezjail-admin create -[-f flavour] [-r jailroot] [-s imagesize] [-ibx] [-c bde|eli|zfs] [-C attachargs] [-a archive]\fI hostname jailip +[-f flavours] [-r jailroot] [-s imagesize] [-ibx] [-c bde|eli|zfs] [-C attachargs] [-a archive]\fI hostname jailip .T .B ezjail-admin console\fR [-f] [-e command]\fI jailname @@ -108,10 +108,13 @@ This is useful in situations where you just want to alter some of a jail's properties and called ezjail-admin delete without the -w option before. However, sanity checks are performed. -Using the -f \fIflavour\fR option you can apply an ezjail \fBFLAVOUR\fR -to your ezjail (e.g. preinstall packages, add users, configure rc). -\fIflavour\fR is a directory tree under ezjail's root dir (default: -\fI/usr/jails/flavours\fR). See \fBFLAVOURS\fR below for more details. +Using the -f \fIflavour\fR option you can specify one or multiple space +separated ezjail \fBFLAVOUR\fRs to be installed in your ezjail (e.g. +preinstall packages, add users, configure rc). \fIflavours\fR points to +one or more directory trees under ezjail's root dir (default: +\fI/usr/jails/flavours\fR). If no flavours are passed, the global +ezjail_default_flavour (default: \fI""\fR) is used. See \fBFLAVOURS\fR below +for more details. Options for newly created jails are read from \fBezjail.conf\fR; refer to ezjail.conf(5) for more information. @@ -226,9 +229,9 @@ A sample flavour config directory resides under initialization actions are demonstrated, and you are encouraged to use it as a template for your flavours. -If a flavour is selected on jail creation, the flavour root is -copied to the new jail's root, mostly containing an \fI/ezjail.flavour\fR. -When the jail starts up for the first time, this script is run and deleted. +If flavours are selected on jail creation, their root directories are +copied to the new jail's root, each containing an \fI/ezjail.flavour\fR. +When the jail starts up for the first time, these scripts are run and deleted. In its default form it will create some groups and users, change the ownership of some files and install all packages residing under /pkg. diff --git a/man5/ezjail.conf.5 b/man5/ezjail.conf.5 index 36b27c4..81ac1ba 100755 --- a/man5/ezjail.conf.5 +++ b/man5/ezjail.conf.5 @@ -114,7 +114,7 @@ Set to YES, if ezjail should provide a soft link from /usr/bin/perl to /usr/loca .I default: YES .TP .B ezjail_default_flavour (str) -Controls which flavour should be used for newly created jails. +Controls which flavours should be used for newly created jails if none are given on the command line. .br .I default: none .SH ZFS OPTIONS -- cgit v1.2.3