Date: Fri, 28 Aug 2015 11:59:35 +0530 From: Vijay Rajah <me@rvijay.me> To: "Ivailo A. Tanusheff" <ITanusheff@postbank.bg>, freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: [Postbank antispam: Marketing mail detected] adding packages during jails creation Message-ID: <55DFFFCF.7000102@rvijay.me> In-Reply-To: <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55DFFFCF.7000102>