[libvirt-users] Error connecting to console

Anthony Davis tony at specialistdevelopment.com
Fri Apr 30 13:11:16 UTC 2010


Hi,

i have KVM running at the moment and im trying to do a text based  
install of centos, so i need to connect to the console via virsh

virsh console servername

but i get this error:

error: Failed to get local hostname

How do i resolve this issue to get a consol connection to the server?

I have tried to put it into the /etc/hosts file, but to no avail.

Hope someone can help or suggest another method of doing a headless  
and X less install of a guest?

Kind Regards

Tony




More information about the libvirt-users mailing list