Explain default and multiple flavours
This commit is contained in:
parent
bd9c449552
commit
99c0ffc613
@ -7,7 +7,7 @@ ezjail-admin \- Administrate ezjail
|
|||||||
|
|
||||||
.T
|
.T
|
||||||
.B ezjail-admin create
|
.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
|
.T
|
||||||
.B ezjail-admin console\fR [-f] [-e command]\fI jailname
|
.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
|
jail's properties and called ezjail-admin delete without the -w option
|
||||||
before. However, sanity checks are performed.
|
before. However, sanity checks are performed.
|
||||||
|
|
||||||
Using the -f \fIflavour\fR option you can apply an ezjail \fBFLAVOUR\fR
|
Using the -f \fIflavour\fR option you can specify one or multiple space
|
||||||
to your ezjail (e.g. preinstall packages, add users, configure rc).
|
separated ezjail \fBFLAVOUR\fRs to be installed in your ezjail (e.g.
|
||||||
\fIflavour\fR is a directory tree under ezjail's root dir (default:
|
preinstall packages, add users, configure rc). \fIflavours\fR points to
|
||||||
\fI/usr/jails/flavours\fR). See \fBFLAVOURS\fR below for more details.
|
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
|
Options for newly created jails are read from \fBezjail.conf\fR; refer to
|
||||||
ezjail.conf(5) for more information.
|
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
|
initialization actions are demonstrated, and you are encouraged to use it as
|
||||||
a template for your flavours.
|
a template for your flavours.
|
||||||
|
|
||||||
If a flavour is selected on jail creation, the flavour root is
|
If flavours are selected on jail creation, their root directories are
|
||||||
copied to the new jail's root, mostly containing an \fI/ezjail.flavour\fR.
|
copied to the new jail's root, each containing an \fI/ezjail.flavour\fR.
|
||||||
When the jail starts up for the first time, this script is run and deleted.
|
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
|
In its default form it will create some groups and users, change the
|
||||||
ownership of some files and install all packages residing under /pkg.
|
ownership of some files and install all packages residing under /pkg.
|
||||||
|
@ -114,7 +114,7 @@ Set to YES, if ezjail should provide a soft link from /usr/bin/perl to /usr/loca
|
|||||||
.I default: YES
|
.I default: YES
|
||||||
.TP
|
.TP
|
||||||
.B ezjail_default_flavour (str)
|
.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
|
.br
|
||||||
.I default: none
|
.I default: none
|
||||||
.SH ZFS OPTIONS
|
.SH ZFS OPTIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user