qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 00/28] ppc-for-2.6 queue 20160125


From: Laurent Vivier
Subject: Re: [Qemu-devel] [PULL 00/28] ppc-for-2.6 queue 20160125
Date: Wed, 27 Jan 2016 14:49:53 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0


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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]