[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ezjail] ezjail support for VNET?

Hello again,

sorry little correction in exam:

$:> ezjail-admin create -r /usr/jails/vnet.jail.lan vnet.jail.lan 9 0


On Fri, 29 Jul 2011 14:46:10 +0300, nikolay AT dachev DOT info wrote:

i successful use ezjail with vnet

you can try my ezjail_admin modified version

please check howto_ep_vnet attached file first

patch your /etc/rc.d/jail with attached jail_v2.parch

replace /usr/local/bin/ezjail-admin with attached ezjail-admin file


Usage: ezjail-admin create [-xbi] [-f flavour] [-r jailroot] [-s
size] [-c bde|eli|zfs] [-C args] [-a archive] jailname

jailip/bitmask - jail IP address
jailgw - jail gateway (epaira if ip address)

epairN - epair interface number for example 9 for epair9a and epair9b if

bridgeN - bridge number for example 0 for bridge0

$:> ezjail-admin create -r /usr/jails/vnet.jail.lan vnet.jail.lan 9 0

Best Regards :)

On Thu, 28 Jul 2011 18:12:01 +0200, Arvinn Løkkebakken wrote:

Thank you for your splendid work in enhancing the managebility of
jails. Where is ezjail going from here? Will the latest features in
FreeBSD jail be supported with ezjail? As I've understood, the biggest
obstacle in this regard is the lack of functionality in
/etc/rc.d/jail. Are there any plans on moving ezjail from
/etc/rc.d/jail to /usr/sbin/jail so as to be able to still use ezjail
for newer jails as well?

Thanks, Arvinn