Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Aug 2009 15:53:09 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Peter Cornelius <pcc@gmx.net>
Cc:        freebsd-virtualization@freebsd.org
Subject:   Re: Vimage vs. jails
Message-ID:  <4A8B30D5.9000400@elischer.org>
In-Reply-To: <20090818215721.23230@gmx.net>
References:  <20090818215721.23230@gmx.net>

next in thread | previous in thread | raw e-mail | index | archive | help
it's not Vimage vs Jails
but
Vimage as part of Jails.


Peter Cornelius wrote:
> Hi there,
> 
> I just see the vimage changes going into RELENG_8 and I now am
> getting my hands dirty, finally. So thanks to all involved.
> 
> Just to get my head around this the right way, I understand that
> there is no plan to merge vimage and jail into a single jail
> utility, right?

Actually it IS now all one utility...
Add the 'vnet' option to jail to get it to create a new vnet withthe 
jail, otherwise it acts as before.

> 
> I may want a large number of vimages "w/o" jails, or at least a
> number of jails "inside" a couple of vimages (reason being the
> default route issue raised a while ago).

can you expand on that?

example comand lines include:
jail -c host.hostname=test path=/ vnet command=/bin/tcsh
( make a jail with the same root as normal but with a separate
network stack.)


jail -c host.hostname=test path=/ vnet children.max=4 \
            command=/bin/tcsh
(same as above, excep the jail made is in turn able to make
up to 4 child jails


> 
> Thanks again, and
> 
> All the best,
> 
> Peter.
> 
> ---
> 
> PS. I see a couple of lock order reversals on RELENG_8 which I
> would like to report if the build currently running did not address
> them -- do we prefer them to a mailing list or to gnats?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4A8B30D5.9000400>