adding packages during jails creation

Vijay Rajah me at rvijay.me
Sun Aug 30 09:03:31 UTC 2015



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 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
>>>
>>>
>
>
> 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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"



More information about the freebsd-questions mailing list