diff options
| -rwxr-xr-x | man1/ezjail-admin.1 | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/man1/ezjail-admin.1 b/man1/ezjail-admin.1 index a4d3109..6b2dd96 100755 --- a/man1/ezjail-admin.1 +++ b/man1/ezjail-admin.1 | |||
| @@ -110,19 +110,29 @@ provides an easy way to create many Jails with similar or identical | |||
| 110 | properties. Currently it supports creating users, installing files and | 110 | properties. Currently it supports creating users, installing files and |
| 111 | installing packages. | 111 | installing packages. |
| 112 | 112 | ||
| 113 | A sample flavour config file resides under | 113 | A sample flavour config directory resides under |
| 114 | .I EZJAIL_PREFIX/share/examples/ezjail/ezjail.flavour.default, | ||
| 115 | the corresponding root is at | ||
| 116 | .I EZJAIL_PREFIX/share/examples/ezjail/default/. | 114 | .I EZJAIL_PREFIX/share/examples/ezjail/default/. |
| 117 | Some typical Jail initialization actions are demonstrated and you are | 115 | Some typical Jail initialization actions are demonstrated and you are |
| 118 | encouraged to use it as a template for your flavour configs. | 116 | encouraged to use it as a template for your flavours. |
| 119 | 117 | ||
| 120 | If a flavour is selected on Jail creation, the Jail executes a config | 118 | If a flavour is selected on Jail creation, the flavour root is being |
| 121 | script on its first startup. This looks for packages under | 119 | copied to the new Jails root, mostly containing an |
| 122 | .I /basejail/config/pkg. | 120 | .I /ezjail.flavour . |
| 123 | Usually it copies files from | 121 | If the Jail starts up for the first time it runs a setup script found |
| 124 | .I /basejail/config/<flavour>, | 122 | at |
| 125 | you can specify the path in your flavour config file. | 123 | .I /etc/rc.d/ezjail-config.sh. |
| 124 | |||
| 125 | This script will create some users specified in the flavour config. | ||
| 126 | It will then chown files specified in the flavour config. (This is to allow | ||
| 127 | giving file to users that didn't exist on Jail creation time.) All | ||
| 128 | packages residing under | ||
| 129 | .I /pkg | ||
| 130 | will be installed. Finally the script | ||
| 131 | .I /ezjail.postinstall | ||
| 132 | is being sourced, if it exists. | ||
| 133 | |||
| 134 | .I ezjail-config.sh | ||
| 135 | then removes all traces, including itself. | ||
| 126 | .SH EXAMPLES | 136 | .SH EXAMPLES |
| 127 | ezjail-admin update | 137 | ezjail-admin update |
| 128 | .br | 138 | .br |
| @@ -145,8 +155,6 @@ EZJAIL_PREFIX/etc/ezjail.conf | |||
| 145 | EZJAIL_PREFIX/etc/rc.d/ezjail.sh | 155 | EZJAIL_PREFIX/etc/rc.d/ezjail.sh |
| 146 | .br | 156 | .br |
| 147 | EZJAIL_PREFIX/share/examples/ezjail/ | 157 | EZJAIL_PREFIX/share/examples/ezjail/ |
| 148 | .br | ||
| 149 | EZJAIL_PREFIX/etc/ezjail.flavour.* | ||
| 150 | .SH "SEE ALSO" | 158 | .SH "SEE ALSO" |
| 151 | ezjail(5), ezjail.conf(5), jail(8), devfs(5), fdescfs(5), procfs(5) | 159 | ezjail(5), ezjail.conf(5), jail(8), devfs(5), fdescfs(5), procfs(5) |
| 152 | .SH AUTHOR | 160 | .SH AUTHOR |
