Date: Sat, 29 Aug 2015 08:44:13 -0400 From: Ernie Luzar <luzar722@gmail.com> To: Vijay Rajah <me@rvijay.me> Cc: freebsd-questions@freebsd.org Subject: Re: adding packages during jails creation Message-ID: <55E1A91D.7020108@gmail.com> In-Reply-To: <55E19F72.6090804@rvijay.me> References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> <CAOc73CCCxbJ7rQzZ4AfTQuyV%2Bd3hw3hvfaC26Fwpb7NBz1z9eA@mail.gmail.com> <55E19F72.6090804@rvijay.me>
next in thread | previous in thread | raw e-mail | index | archive | help
Vijay Rajah wrote: > Ben, > > Looks interesting.. did not get a chance to read the docs completely. > > Do you know if I can switch over my existing jails from ezjail to > iocage? > > -Thanks > Vijay > > On 28/08/15 3:35 pm, Ben Woods wrote: >> 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 >> >> If I remember correctly iocage jails are based on zfs and the methodology employed is totally different that the one used in ezjail zfs jails. You may want to check out qjail, it also has option to auto install pkg's listed in a flat file as well as a few other methods to accomplish the same thing and is UFS based. No mater which jail tool you use, changing from one to another is going to require a complete re-creation of your jail(8) environment.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E1A91D.7020108>