diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2009-11-26 03:26:59 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2009-11-26 03:26:59 +0000 |
commit | 91785603f392f8a8a6ce7a20efe9065cfa5d2701 (patch) | |
tree | 3ed50155f7a5d4eb35c1f1ed9a595c956af18754 /usr.sbin/jail | |
parent | 66e49eaba60cc64d8346f864b28b7f4bf82eed6f (diff) | |
download | FreeBSD-src-91785603f392f8a8a6ce7a20efe9065cfa5d2701.zip FreeBSD-src-91785603f392f8a8a6ce7a20efe9065cfa5d2701.tar.gz |
- New style of jail(8) usage requires "-c" argument to create a jail.
Reviewed by: jamie
Diffstat (limited to 'usr.sbin/jail')
-rw-r--r-- | usr.sbin/jail/jail.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/jail/jail.8 b/usr.sbin/jail/jail.8 index 4c1a963..3fc4a4b 100644 --- a/usr.sbin/jail/jail.8 +++ b/usr.sbin/jail/jail.8 @@ -561,7 +561,7 @@ or for running a virtual server. Start a shell in the jail: .Pp .Bd -literal -offset indent -jail path=/data/jail/192.0.2.100 host.hostname=testhostname \\ +jail -c path=/data/jail/192.0.2.100 host.hostname=testhostname \\ ip4.addr=192.0.2.100 command=/bin/sh .Ed .Pp @@ -636,7 +636,7 @@ script from within the jail. .Bd -literal -offset indent ifconfig ed0 inet alias 192.0.2.100/32 mount -t procfs proc /data/jail/192.0.2.100/proc -jail path=/data/jail/192.0.2.100 host.hostname=testhostname \\ +jail -c path=/data/jail/192.0.2.100 host.hostname=testhostname \\ ip4.addr=192.0.2.100 command=/bin/sh /etc/rc .Ed .Pp |