Marek Rudnicki wrote:
Hello
I have a jail configuration in /etc/jail.conf and can start it with:
# jail -c myjail
However, I would like to start it automatically at system boot, e.g. by
using /etc/rc.conf . What's the best way to do that?
And generally, is it the recommended way to configure jail in
/etc/jail.conf and just start them with /etc/rc.conf ?
Cheers
Marek
PS I'm running FreeBSD 9.1-RELEASE-p4
You can install sysutils/jail2 - it is new rc script for starting jails
configured in /etc/jail.conf.
Original /etc/rc.d/jail cannot start jails from jail.conf
Beware of bug in handling of devfs rulesets in FreeBSD 9.1 - see archive
of this list. (I think it is fixed in stable and 9.2)
Miroslav Lachman
_______________________________________________
freebsd-jail@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-jail
To unsubscribe, send any mail to "freebsd-jail-unsubscr...@freebsd.org"