From owner-freebsd-questions@freebsd.org Fri Aug 28 10:05:42 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 DFE2B9C3023 for ; Fri, 28 Aug 2015 10:05:42 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-vk0-x233.google.com (mail-vk0-x233.google.com [IPv6:2607:f8b0:400c:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B36E1528 for ; Fri, 28 Aug 2015 10:05:42 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by vkbc123 with SMTP id c123so7083255vkb.3 for ; Fri, 28 Aug 2015 03:05:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JWj8cr5za4lp1voiYzZ6gXldPe0/JCqZW183tnVazLA=; b=rX1ZFMzG/zkfyzgL2Smob99nnStpxc2sGW87lC4z/9BbAoK0anRnQL5Y3D23UDUgSU d06gY16HtMNuqEPJOzLJe/4aT4gvLQX+OrWZuM2pSoeA5HXxm1/BoDAGPiQHw5IvPecD wFGZ6294OuR9cxJ65DcTFIKXkEsXS5H33nZtwwz9YloIKDZSxgCNul8nepnafFGuu6Nb 2RKumjxhSoj0NCzTeW1rkM/ea2qufQ/+YouFM8ZlgQ/EISsicdvlHAyRYMGh5UfaOhkN 0NR2bQsouN973huVqaFNYFjrI7VXrpu/9w7KeiJ8PUTg25VODMAR1hhb9GoJ7U1+vCUa 34WQ== MIME-Version: 1.0 X-Received: by 10.52.106.231 with SMTP id gx7mr185673vdb.55.1440756341506; Fri, 28 Aug 2015 03:05:41 -0700 (PDT) Received: by 10.31.1.6 with HTTP; Fri, 28 Aug 2015 03:05:41 -0700 (PDT) In-Reply-To: <55DFFFCF.7000102@rvijay.me> References: <55DFE9B3.9010003@rvijay.me> <1422065A4E115F409E22C1EC9EDAFBA4222B9E85@sofdc01exc02.postbank.bg> <55DFFFCF.7000102@rvijay.me> Date: Fri, 28 Aug 2015 18:05:41 +0800 Message-ID: Subject: Re: adding packages during jails creation From: Ben Woods To: Vijay Rajah Cc: "Ivailo A. Tanusheff" , freebsd-questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 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: Fri, 28 Aug 2015 10:05:43 -0000 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 -- -- From: Benjamin Woods woodsb02@gmail.com