[Postbank antispam: Marketing mail detected] adding packages during jails creation

Matthew Seaman matthew at FreeBSD.org
Fri Aug 28 07:08:26 UTC 2015

On 28/08/2015 07:29, Vijay Rajah wrote:
> My question is how can I automate installation of ports, instead of me
> manually installing these packages on every Jail?

There are any number of configuration management tools available, which
can do this for you.  ansible and puppet are two popular ones.  However,
you will still have to bootstrap those management systems in your new
jail.  This usually boils down to writing a small script you can run on
your newly instantiated jail.

As for installing from ports -- use poudriere to build your own package
sets and create your own repo rather than building everything on every
jail.  Seriously.  It's going to save you a lot of time and system
resources and it's not hard to do.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 957 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20150828/685fea85/attachment.bin>

More information about the freebsd-questions mailing list