adding packages during jails creation

Ben Woods woodsb02 at gmail.com
Fri Aug 28 10:05:43 UTC 2015


On Friday, August 28, 2015, Vijay Rajah <me at rvijay.me> wrote:
>
> My question is how can I automate installation of ports, instead of me
> manually installing these packages on every Jail?
>
> -Thanks
> Vijay
>

Hi Vijay,

If you use iocage for jail management instead of ezjail, you can use its
pkglist keyword to automatically install a list of packages in a file as
the jail is created.

Documented here:
https://iocage.readthedocs.org/en/latest/advanced-use.html#automatic-package-installation

Hope that helps,
-Ben


-- 

--
From: Benjamin Woods
woodsb02 at gmail.com


More information about the freebsd-questions mailing list