From owner-freebsd-questions@freebsd.org Sat Aug 29 12:03:13 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 492D69C4CEF for ; Sat, 29 Aug 2015 12:03:13 +0000 (UTC) (envelope-from me@rvijay.me) Received: from mail11.rvijay.me (mail11.rvijay.me [107.6.164.87]) by mx1.freebsd.org (Postfix) with ESMTP id 09372D40 for ; Sat, 29 Aug 2015 12:03:12 +0000 (UTC) (envelope-from me@rvijay.me) Received: from mail10.rvijay.me (mail10.rvijay.me [89.233.108.53]) by mail11.rvijay.me (Postfix) with ESMTP id D02C91E611EC for ; Sat, 29 Aug 2015 17:33:05 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail10.rvijay.me (Postfix) with ESMTP id AF35F24837 for ; Sat, 29 Aug 2015 12:03:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=rvijay.me; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:user-agent:date:date:message-id:from:from :references:to:subject:subject; s=20130919; t=1440849781; x= 1441713782; bh=64OaojoEPlFOI1b/KIyr+MLIMaoeTy2szWsi55z/u20=; b=G 8st5QV4vPPP0yHnBKEQV91Waf9rW1ZGUpkA9kZOclbGFSgu75+RRiwEsYeZL1B1e Cn6EOHhnSUNVWo+B9p5WrM6J/YNdU9j9852ruuWeH5gW++cxs6UHDbNiYLSjT6Sc 4thdxUwfkSKIcsiFFISpnK5n7eFpKbhlJLQgx8xX30= Received: from mail10.rvijay.me ([127.0.0.1]) by localhost (mail10.rvijay.me [127.0.0.1]) (amavisd-new, port 10026) with LMTP id zo1AqK-or3cm for ; Sat, 29 Aug 2015 12:03:01 +0000 (UTC) Received: from [192.168.1.119] (unknown [183.83.51.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail10.rvijay.me (Postfix) with ESMTPSA id 14BC224810 for ; Sat, 29 Aug 2015 12:03:00 +0000 (UTC) Subject: Re: adding packages during jails creation To: freebsd-questions@freebsd.org References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> From: Vijay Rajah Message-ID: <55E19F72.6090804@rvijay.me> Date: Sat, 29 Aug 2015 17:32:58 +0530 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 12:03:13 -0000 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 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 > >