Static Jail ID's (JID's) for use with IPFW?
kpielorz_lst at tdx.co.uk
Wed Aug 7 14:45:12 UTC 2013
--On 07 August 2013 12:23 +0100 Arthur Chance <freebsd at qeng-ho.org> wrote:
> I don't think the old /etc/rc.conf way of handling jails lets you do it,
> but the latest version of jail(8) introduced /etc/jail.conf and you
> should be able to add "jid = <N>;" parameters in there.
Thanks - I'll check that out...
> I've no idea what will happen if your choice conflicts with an
> automatically generated jid, so you'll either have to make sure all jails
> have fixed jids, or choose a suitably high range for fixed ones and hope
> you never generate too many unfixed jids.
I'll be making them all static - just to avoid that problem ;)
More information about the freebsd-questions