Displaying 2 results from an estimated 2 matches for "1tux".
Did you mean:
1nux
2012 Nov 08
3
Failed to access console after launching LXC through libvirt
...ent host OSes. Following are some symptoms I observed.
* (g) for container guest OS
* (h) for host OS
* NOTE: Ubuntu guest os are generated by lxc-create -t ubuntu, which is an
Ubuntu 12.04 based lxc template.
CentOS guest os are handcrafted by myself, taking reference of
http://wiki.1tux.org/wiki/Lxc/Installation/Guest/Centos/6
1. Ubuntu (g) launched by lxc-start on Ubuntu 12.04 host, console works
2. Ubuntu (g) launched by OpenStack / libvirt on Ubuntu 12.04 host,
console works
3. Ubuntu (g) launched by OpenStack / libvirt on CentOS 6.3 host,
console NOT works
4...
2012 Dec 13
0
CentOS 6.3 LXC guest with CentOS 6.3 host
...d -m 666 /dev/zero c 1 5
mknod -m 666 /dev/urandom c 1 9
ln -s /dev/urandom /dev/random
mknod -m 600 /dev/console c 5 1
mknod -m 660 /dev/tty1 c 4 1
chown root:tty /dev/tty1
mkdir -p /dev/shm
chmod 1777 /dev/shm
mkdir -p /dev/pts
chmod 755 /dev/pts
basically all instructions from here
http://wiki.1tux.org/wiki/Centos6/Installation/Minimal_installation_using_yum
My configuration looks like this
<domain type='lxc'>
<name>c03</name>
<memory unit="G">4</memory>
<os>
<type>exe</type>
<init>/sbin/init</init>...