From owner-freebsd-questions@freebsd.org Fri Aug 28 06:29:45 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A2EAD9C4D36 for ; Fri, 28 Aug 2015 06:29:45 +0000 (UTC) (envelope-from me@rvijay.me) Received: from mail11.rvijay.me (mail11.rvijay.me [107.6.164.87]) by mx1.freebsd.org (Postfix) with ESMTP id 41B0A3CB for ; Fri, 28 Aug 2015 06:29:44 +0000 (UTC) (envelope-from me@rvijay.me) Received: from mail10.rvijay.me (mail10.rvijay.me [89.233.108.53]) by mail11.rvijay.me (Postfix) with ESMTP id A44151E611EC; Fri, 28 Aug 2015 11:59:43 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail10.rvijay.me (Postfix) with ESMTP id 86C7E2402E; Fri, 28 Aug 2015 06:29:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rvijay.me; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=20130919; t=1440743378; x= 1441607379; bh=bRVMBPk8N9A482N224+IWU5BBF3kSjQThjvpeoiYi9k=; b=s f4ijqUY7aecVnyHuXDU2KsTL7EG5nXtAiNdcD8FrvcZOXEBTAwKvRgnouifpxClw zlFTYb8JHNFaQGyE21Mz0/sNMkeF6Y+tGQBet+UEkomquANRi6/kttRxml3y+mqb YFnAA97jnThqIKBbM3PUbXQ6591K8EfQSJM6iV+5r0= Received: from mail10.rvijay.me ([127.0.0.1]) by localhost (mail10.rvijay.me [127.0.0.1]) (amavisd-new, port 10026) with LMTP id TRxPYyMDBwHF; Fri, 28 Aug 2015 06:29:38 +0000 (UTC) Received: from [192.168.1.119] (unknown [183.83.49.59]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail10.rvijay.me (Postfix) with ESMTPSA id BD6EE24038; Fri, 28 Aug 2015 06:29:37 +0000 (UTC) Subject: Re: [Postbank antispam: Marketing mail detected] adding packages during jails creation To: "Ivailo A. Tanusheff" , freebsd-questions References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> From: Vijay Rajah Message-ID: <55DFFFCF.7000102@rvijay.me> Date: Fri, 28 Aug 2015 11:59:35 +0530 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Aug 2015 06:29:45 -0000 Dear ivailo, Thanks for your reply. Yes I already do that. I nullfs mount the hosts's /usr/ports to all the jails & make necessary changes in make.conf in the jails Currently When I create a jail, I need to manually install some packages. (using make config , make install ...) My question is how can I automate installation of ports, instead of me manually installing these packages on every Jail? -Thanks Vijay On 28/08/15 11:23 am, Ivailo A. Tanusheff wrote: > Dear Vijay, > > You can nullfs mount the host's ports folder to the ports folder at any jail and then proceed as normal port install. > I usually make script to do the updates after that, so you can mount for specific jail, upgrade all ports needed and then unmount. > > In many cases you will not have internet access from every jail, so it might be a good idea to have all those ports installed on the host system, so you first install/update host, than when you mount the jail will have all needed files already downloaded. > > Regards, > Ivailo > > > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Vijay Rajah > Sent: Friday, August 28, 2015 7:55 AM > To: freebsd-questions > Subject: [Postbank antispam: Marketing mail detected] adding packages during jails creation > > Hello List, > > I run all my services in my server in separate jails.. It works great.. > > The only thing is, on every jail, i would install a set of packages. > (example: portmaster) > > I have created flavour in ezjails to customize the jails. > > But, How do I install packages form ports tree whenever, I create the jails? > > -Thanks in Advance > Vijay > _______________________________________________ > freebsd-questions@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > Disclaimer: > > This communication is confidential. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication by mistake, please notify us immediately by responding to this email and then delete it from your system. > Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, recommendation, conclusion, solicitation, offer or agreement or any information contained in this communication. > Eurobank Bulgaria AD cannot accept any responsibility for the accuracy or completeness of this message as it has been transmitted over a public network. If you suspect that the message may have been intercepted or amended, please call the sender.