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

Re: [ezjail] ezjail support for VNET?



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

Attachment: ezjail-admin
Description: Binary data

Attachment: jail_v2.patch
Description: Binary data

Attachment: howto_ep_vnet
Description: Binary data