[Lxc-users] Installing Centos6 lxc guests under CentOS6 hosts

Fajar A. Nugraha list at fajar.net
Thu Mar 15 03:38:46 UTC 2012


On Sat, Mar 10, 2012 at 10:11 PM, carlopmart <carlopmart at gmail.com> wrote:

> Many thanks Fajar. I am trying to build a new CentOS 6 image, but when I
> try to launch my lxc guest via virt-manager stops in "Enabling
> /etc/swaps:     [OK]" ... and no go.
>
> My lxc guest fstab is:
>
> rootfs          /               tmpfs   defaults                0 0
> devpts          /dev/pts        devpts  gid=5,mode=620          0 0
> sysfs           /sys            sysfs   defaults                0 0
> proc            /proc           proc    nodev,noexec,nosuid     0 0
> tmpfs           /dev/shm        tmpfs   defaults                0 0

I just completed this: http://wiki.1tux.org/wiki/Lxc/Installation/Guest/Centos/6

You probably only need "lxc compatibility init script" part, although
it woulnd't hurt to read them all :)

Tested using lxc userland tools (e.g. lxc-start), but might work for
libvirt as well.

-- 
Fajar




More information about the lxc-users mailing list