From owner-freebsd-questions@FreeBSD.ORG Fri Dec 18 22:41:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 451AF1065692 for ; Fri, 18 Dec 2009 22:41:11 +0000 (UTC) (envelope-from meta@club.kyutech.ac.jp) Received: from sapphire.club.kyutech.ac.jp (sapphire.club.kyutech.ac.jp [131.206.108.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0E4008FC13 for ; Fri, 18 Dec 2009 22:41:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTP id 533D81148F for ; Sat, 19 Dec 2009 07:41:09 +0900 (JST) X-Virus-Scanned: amavisd-new at club.kyutech.ac.jp Received: from club.kyutech.ac.jp (rose.club.kyutech.ac.jp [131.206.108.6]) by sapphire.club.kyutech.ac.jp (Postfix) with ESMTP id 2904E11442 for ; Sat, 19 Dec 2009 07:40:49 +0900 (JST) Date: Sat, 19 Dec 2009 07:40:47 +0900 From: Kouichiro Iwao To: freebsd-questions@freebsd.org Message-ID: <20091218224047.GA37742@club.kyutech.ac.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: how to make vimage jail permanent by configuring rc.conf? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 22:41:11 -0000 Hi. I'm trying to freebsd cruster with jails. I know how to make vimage jail temporarily with the commands like this. # jail -c vnet path=/usr/jail/jail01 persist # ifconfig epair create # ifconfig epair0a vnet $JID (snip) I want to make it permanent. I want jails to start automatically when I rebooted the host environment. I add the following lines into rc.conf. jail_jail01_flags="-c vnet" jail_jail01_rootdir="/usr/jail/jail01" jail_jail01_hostname="jail01.example.jp" jail_jail01_ip="192.168.100.101" However, I failed "/etc/rc.d/jail onestart jail01" to start up the jail. How to configure rc.conf in order to make vimage jail permanent? rc.d/jail only support traditional jails? -- kiwao