From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aOQU2-0008Jk-Aq for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:50:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aOQTx-0001E5-BO for qemu-devel@nongnu.org; Wed, 27 Jan 2016 08:50:06 -0500 References: <1453684527-23564-1-git-send-email-david@gibson.dropbear.id.au> <20160125111936.GI32205@voom.redhat.com> <20160125140038.GK32205@voom.redhat.com> <20160126053747.GA16692@voom.fritz.box> <0680BF2B-8AC3-4950-BFAB-12F7E39EFF05@suse.de> <1453805775.24277.9.camel@redhat.com> <20160127030149.GJ16692@voom.fritz.box> <1453901772.14828.18.camel@redhat.com> From: Laurent Vivier Message-ID: <56A8CB01.604@redhat.com> Date: Wed, 27 Jan 2016 14:49:53 +0100 MIME-Version: 1.0 In-Reply-To: <1453901772.14828.18.camel@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PULL 00/28] ppc-for-2.6 queue 20160125 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann , David Gibson Cc: Peter Maydell , Thomas Huth , Mark Cave-Ayland , Alexander Graf , QEMU Developers , "qemu-ppc@nongnu.org" , "bharata@linux.vnet.ibm.com" , Greg Kurz On 27/01/2016 14:36, Gerd Hoffmann wrote: > Hi, > >> Hmm. Is there a HOWTO for setting up a 32-bit container? Containers >> aren't something I've had the time to become familiar with so far. > > systemd-nspawn manpage has a few examples in the examples section (and > is worth reading anyway). > > For fedora it boils down to "yum/dnf --installroot=/dest/dir > groupinstall core", possibly with --config $cfgfile where you list your > repos in $cfgfile, especially when installing fedora on rhel so you > don't want the host repos. > > Use "systemd-nspawn -D /dest/dir passwd" to set the root password, > otherwise you can't login. Boot with "systemd-nspawn -bD /dest/dir". > With --bind you can make host directories visible within the container. > > For debian there is debootstrap which you can use (is packaged for > fedora and epel too). With lxc, you can just do: sudo lxc-create -n my_container -t debian -- --arch i686 and then sudo lxc-start -n my_container -F you need the lxc-templates package. The fedora template (-t fedora) seems broken. > Alternatively you can fetch a cloud image and run that. > > HTH, > Gerd > Laurent