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

Re: [ezjail] ezjail support for VNET?



Thanks alot, I will have a look into this ASAP :)

I had hoped for a way of not using an unstandard /etc/rc.d/jail, but this looks very neat anyhow!

Arvinn

On 2011-07-29 13:54, nikolay AT dachev DOT info wrote:
Hello again,

sorry little correction in exam:

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

10x

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

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


exam:

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
192.168.1.100 192.168.1.1/24 9 0

Best Regards :)

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

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