Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Aug 2015 18:05:41 +0800
From:      Ben Woods <woodsb02@gmail.com>
To:        Vijay Rajah <me@rvijay.me>
Cc:        "Ivailo A. Tanusheff" <ITanusheff@postbank.bg>,  freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: adding packages during jails creation
Message-ID:  <CAOc73CCCxbJ7rQzZ4AfTQuyV%2Bd3hw3hvfaC26Fwpb7NBz1z9eA@mail.gmail.com>
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
On Friday, August 28, 2015, Vijay Rajah <me@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@gmail.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOc73CCCxbJ7rQzZ4AfTQuyV%2Bd3hw3hvfaC26Fwpb7NBz1z9eA>