From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 18 12:59:00 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8421016A4CE for ; Mon, 18 Apr 2005 12:59:00 +0000 (GMT) Received: from mxsf30.cluster1.charter.net (mxsf30.cluster1.charter.net [209.225.28.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84D943D39 for ; Mon, 18 Apr 2005 12:58:59 +0000 (GMT) (envelope-from c0ldbyte@myrealbox.com) Received: from mxip15.cluster1.charter.net (mxip15a.cluster1.charter.net [209.225.28.145])j3ICwwFM023820 for ; Mon, 18 Apr 2005 08:58:58 -0400 Received: from 24.247.253.134.gha.mi.chartermi.net (HELO eleanor.us1.wmi.uvac.net) (24.247.253.134) by mxip15.cluster1.charter.net with ESMTP; 18 Apr 2005 08:58:59 -0400 X-Ironport-AV: i="3.92,109,1112587200"; d="scan'208"; a="998486436:sNHT13776098" Date: Mon, 18 Apr 2005 08:58:54 -0400 (EDT) From: c0ldbyte To: "Franklin Chef(news)" In-Reply-To: <42628E25.8010008@gmail.com> Message-ID: <20050418085137.U49866@eleanor.us1.wmi.uvac.net> References: <42628196.4070608@comcast.net> <42628E25.8010008@gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: freebsd-hackers@freebsd.org cc: Matt Subject: Re: Making multiple jails X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2005 12:59:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, 17 Apr 2005, Franklin Chef(news) wrote: > Matt wrote: > >> I'd like to create five jails on one machine. Is it possible to make them >> all at the same time? I'm only familiary with creating them individually >> (DESTDIR=/foo/bar). Thanks much. >> > No problem, you can run multiple jail at the same time. All you have to do is > to create different jail directories and edit rc.conf like this: > > jail_enable="YES" > jail_list="jail1 jail2 jail3" > > jail_jail1_hostname="jail1.jail.org" > jail_jail1_ip="192.168.4.100" > .... > > jail_jail2_hostname="jail2.jail.org" > jail_jail2_ip="192.168.4.101" > .... > > jail_jail3_hostname="jail3.jail.org" > jail_jail3_ip="192.168.4.102" > .... I believe he is asking if it is possible to create them at the same time not really run them at the same time. But that is good information for him to know as well anyhow. But the only way to go about that is to do the (make world DESTDIR=/path/to/jail#) for each jail that you need. Now after the first initial build of world, if you didnt do a (make clean) then you should beable to just (make installworld DESTDIR=/path/to/jail#) and the new jail will apear there with the specified parameters that you fed DESTDIR. Hope this all helped you on your quest for knowledge. --c0ldbyte - -- ( When in doubt, use brute force. -- Ken Thompson 1998 ) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xF7DF979F Comment: Fingerprint = D1DC 0AA4 1C4E EAD4 24EB 7E77 B261 50BA F7DF 979F iD8DBQFCY68RsmFQuvffl58RAhnMAJ93XIg2Aw/NMxq0x6x4DJ+IGHTN0gCfYoJP EhVUzcXW/x6mDksaTVLE5Mg= =VpNt -----END PGP SIGNATURE-----