[libvirt-users] Console to RHEL6.1 container

Sukadev Bhattiprolu sukadev at linux.vnet.ibm.com
Tue May 1 18:46:07 UTC 2012


Sukadev Bhattiprolu [sukadev at linux.vnet.ibm.com] wrote:
| Back to the newinstance case, by putting some debug messages in the
| container's /etc/rc.sysinit, I see that devpts is already mounted 
| with newinstance. 
| 
| With lxc, in setup_pts(), we unmount devpts in the container and then
| mount with newinstance. I wonder what that sequence is with virtmgr.

I commented out the 'mount -n devpts' in the container's /etc/rc.d/rc.sysinit. 
and left the 'devpts newinstance,ptmxmode=0666' entry in container /etc/fstab

After these changes, I get a functional console with 'virsh console guest' 

Sukadev




More information about the libvirt-users mailing list