From owner-freebsd-questions@freebsd.org Fri Aug 28 07:44:00 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 AADB89C4F55 for ; Fri, 28 Aug 2015 07:44:00 +0000 (UTC) (envelope-from prvs=968241d400=ITanusheff@postbank.bg) Received: from mail.postbank.bg (mx.postbank.bg [195.242.126.253]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.postbank.bg", Issuer "GeoTrust DV SSL CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DC308E4 for ; Fri, 28 Aug 2015 07:43:59 +0000 (UTC) (envelope-from prvs=968241d400=ITanusheff@postbank.bg) DKIM-Signature: v=1; a=rsa-sha256; d=postbank.bg; s=mail; c=relaxed/relaxed; q=dns/txt; i=@postbank.bg; t=1440747835; x=1443339835; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type: content-transfer-encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=2080+7J7dURvJMaXNxajxm1AkpLw5I6ONfSsA1i1q7g=; b=eocfubvspL59PQFE5lfuoL3xISBc2afByE07jNA7iflCB5NNejQpKFivbOr2xWjV ATueXpPnrRsuJbuj0Ka4z0StbZwx3IXdpFmX+XsMHc/hXlMs67jlnNJk854OR6w3 hTlEq61UCnZpo7pfMp1lsT22VVv8xY8aVkDL5GTc5r0=; X-AuditID: ac100166-f79cb6d000000c51-94-55e0113b941f Received: from sofdc01excv14.postbank.bg ( [10.1.129.37]) (using TLS with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) by mail.postbank.bg (Eurobank AD BG Outbound mail system) with SMTP id A5.51.03153.B3110E55; Fri, 28 Aug 2015 10:43:55 +0300 (EEST) From: "Ivailo A. Tanusheff" To: Vijay Rajah , freebsd-questions Subject: RE: [Postbank antispam: Marketing mail detected] adding packages during jails creation Thread-Topic: [Postbank antispam: Marketing mail detected] adding packages during jails creation Thread-Index: AQHQ4VruZBH1DVs+s0S293uX8a+lD54hB3lw Date: Fri, 28 Aug 2015 07:43:51 +0000 Message-ID: <1422065A4E115F409E22C1EC9EDAFBA4222BA0ED@sofdc01exc02.postbank.bg> References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> In-Reply-To: <55DFFFCF.7000102@rvijay.me> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.230] Content-Type: text/plain; charset="us-ascii" content-transfer-encoding: quoted-printable MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHKsWRmVeSWpSXmKPExsXCxdioqmst+CDUYNFLUYuXXzexWOw9eYrF gcljxqf5LB4Xv05mDmCKamC0SUosKQvOTM/Tt7NJzMvLL0ksSVVISS1OtlWKDsgvLklKzMuO VXDJLE7OSczMTS1SUshMsVUyVlIoyElMTs1NzSuxVUosKEjNS1Gy41LAADZAZZl5Cql5yfkp mXnptkqewf66FhamlrqGSnYgUxMaODLev3rAVtAvXfHxai9bA2OjWBcjJ4eEgInEvbtLWSBs MYkL99azdTFycQgJzGGS+H78DStIgg2oaNvcPUxdjBwcIgLBEn+e2oCEhQUSJVa+/ssOYosI JEm82TAVyjaS+HNmAROIzSKgKvF2ymJmEJtXwF9i8+wNYHEhgV5Giba3CSA2p4CmxOrPs8Hi jEA3fD+1BsxmFhCXuPVkPhPEbQISS/acZ4awRSVePv7HCmHLS0yedoodol5HYsHuT2wQtrbE soWvofYKSpyc+YRlAqPILCRjZyFpmYWkZRaSlgWMLKsYJYvz01KSDQyDfd3LDIz0CqDRpZeU vokRmATWCDCm7WB8c8XpEKMAB6MSD++ETfdDhVgTy4orcw8xSnAwK4nw/voGFOJNSaysSi3K jy8qzUktPsSYDAydicxSosn5wASVVxJvaGJgaGpiZGhhYGZhSpqwkjjv56tXQ4UE0oHpKjs1 tSC1CGYLEwcnyBVcUiLFwNSTWpRYWpIRD0qN8cXA5CjVwFioFmbYZvF4RwPfQdbZigsbe/1b XKe3KsyKWvpXdM+kirmsif8CJ339aC2v8SlqX9HqC+9+TenxT+gUi/+k+u75i4oZNXNzbA8n S/qydL9xsb/zsur0t435zkcLUxKn/pH6s4lr4sWvcgWLdLc7Xjs9Zfeh2zqCliqfTp6OUD28 XfiQmF2exQ0lluKMREMt5qLiRADVwiNNYQMAAA== 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 07:44:00 -0000 Dear Vijay, Use a configuration/system management tool. You can do this with Puppet or C= hef, per example. This has all the advantages of using a build host (consistency, less load on= the individual servers), and adds the benefit of configuration management. Regards, Ivailo -----Original Message----- From: Vijay Rajah [mailto:me@rvijay.me] Sent: Friday, August 28, 2015 9:30 AM To: Ivailo A. Tanusheff; freebsd-questions Subject: Re: [Postbank antispam: Marketing mail detected] adding packages du= ring jails creation Dear ivailo, Thanks for your reply. Yes I already do that. I nullfs mount the hosts's /usr/ports to all the jail= s & make necessary changes in make.conf in the jails Currently When I create a jail, I need to manually install some packages. (u= sing make config , make install ...) My question is how can I automate installation of ports, instead of me manua= lly 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 ja= il and then proceed as normal port install. > I usually make script to do the updates after that, so you can mount for s= pecific jail, upgrade all ports needed and then unmount. > > In many cases you will not have internet access from every jail, so it mig= ht be a good idea to have all those ports installed on the host system, so y= ou first install/update host, than when you mount the jail will have all nee= ded 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 jail= s? > > -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.or= g" > > Disclaimer: > > This communication is confidential. If you are not the intended recipient,= you are hereby notified that any disclosure, copying, distribution or takin= g any action in reliance on the contents of this information is strictly pro= hibited and may be unlawful. If you have received this communication by mist= ake, please notify us immediately by responding to this email and then delet= e it from your system. > Eurobank Bulgaria AD is not responsible for, nor endorses, any opinion, re= commendation, conclusion, solicitation, offer or agreement or any informatio= n 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 netwo= rk. If you suspect that the message may have been intercepted or amended, pl= ease call the sender. Disclaimer: This communication is confidential. If you are not the intended recipient, y= ou are hereby notified that any disclosure, copying, distribution or taking= any action in reliance on the contents of this information is strictly proh= ibited and may be unlawful. If you have received this communication by mista= ke, 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, reco= mmendation, conclusion, solicitation, offer or agreement or any information= contained in this communication. Eurobank Bulgaria AD cannot accept any responsibility for the accuracy or co= mpleteness of this message as it has been transmitted over a public network.= If you suspect that the message may have been intercepted or amended, pleas= e call the sender.