[Postbank antispam: Marketing mail detected] adding packages during jails creation
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...
Size: 957 bytes
Desc: OpenPGP digital signature
More information about the freebsd-questions