Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2015 07:43:51 +0000
From:      "Ivailo A. Tanusheff" <ITanusheff@postbank.bg>
To:        Vijay Rajah <me@rvijay.me>, freebsd-questions <freebsd-questions@freebsd.org>
Subject:   RE: [Postbank antispam: Marketing mail detected] adding packages during jails creation
Message-ID:  <1422065A4E115F409E22C1EC9EDAFBA4222BA0ED@sofdc01exc02.postbank.bg>
In-Reply-To: <55DFFFCF.7000102@rvijay.me>
References:  <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1422065A4E115F409E22C1EC9EDAFBA4222BA0ED>