From owner-freebsd-questions@freebsd.org Sun Aug 30 09:03:31 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 787BD9C62ED for ; Sun, 30 Aug 2015 09:03:31 +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 35C8074A for ; Sun, 30 Aug 2015 09:03:30 +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 A72E71E611EC for ; Sun, 30 Aug 2015 14:33:28 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail10.rvijay.me (Postfix) with ESMTP id 8962E24822 for ; Sun, 30 Aug 2015 09:03:28 +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=1440925402; x= 1441789403; bh=Vck9QlItn8wcRGZP9NyqSoYfDEEldvG9Rp4YJhuLvlQ=; b=U KXZ+KZsvcVSDsdKmqHvseKGvqVc1sYMHLjCYpglBAdrMYaqx9KbMDJglsmXrYoKn JfEXjSIgcCGENqUKtHS0em2fLxZlbcQZpnKdxr+FuiO3NGZGiLjBDPlXgVKhKeU1 qJbmhPJRClxaBUNRLrtJX0myfAZUjLWt9C0taxhRp8= 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 GTkt_GjVhCMG for ; Sun, 30 Aug 2015 09:03:22 +0000 (UTC) Received: from [192.168.1.119] (unknown [49.207.184.15]) (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 471992400D for ; Sun, 30 Aug 2015 09:03:20 +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> <55E19F72.6090804@rvijay.me> <55E1A91D.7020108@gmail.com> From: Vijay Rajah Message-ID: <55E2C6D3.2050200@rvijay.me> Date: Sun, 30 Aug 2015 14:33:15 +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: <55E1A91D.7020108@gmail.com> 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: Sun, 30 Aug 2015 09:03:31 -0000 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 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"