Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Aug 2015 14:33:15 +0530
From:      Vijay Rajah <me@rvijay.me>
To:        freebsd-questions@freebsd.org
Subject:   Re: adding packages during jails creation
Message-ID:  <55E2C6D3.2050200@rvijay.me>
In-Reply-To: <55E1A91D.7020108@gmail.com>
References:  <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> <CAOc73CCCxbJ7rQzZ4AfTQuyV%2Bd3hw3hvfaC26Fwpb7NBz1z9eA@mail.gmail.com> <55E19F72.6090804@rvijay.me> <55E1A91D.7020108@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 29/08/15 6:14 pm, Ernie Luzar wrote:
> 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.
>
>
>
>
Thanks.. I will take a look at those options...

-Vijay
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55E2C6D3.2050200>