<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hi,<div>I personally use virt-manager to access the console. You should then launch the reboot of the VM from virt-manager and look at console. You will see all messages from boot to understand what's going on.</div><div><br></div><div>Olivier<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><b>De: </b>"Jeff Lee" <jafelee@gmail.com><br><b>À: </b>users@lists.opennebula.org<br><b>Envoyé: </b>Dimanche 3 Avril 2011 13:15:24<br><b>Objet: </b>[one-users] how to attach a "console" to the VM and access the console via "virsh"<br><br>Hi, all, I have put this section in my vm definition file : <br><br>RAW = [ type = "kvm",<br> data = "<devices><serial type=\"pty\"><source<br> path=\"/dev/pts/5\"/><target port=\"0\"/></serial><console type=\"pty\"<br>
tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target<br> port=\"0\"/></console></devices>"<br>]<br><br>the ttylinux instance runs normally. When I ssh to the host and try to open the console of it, by the command "virsh console <domain>", it is just stuck in the screen with only one line of message: <br>
<br>Connected to domain one-19<br>Escape character is ^]<br> <br>Can anybody help me ?<br>Best Regards,<br>Jeff<br>
<br>_______________________________________________<br>Users mailing list<br>Users@lists.opennebula.org<br>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br></blockquote><br></div></div></body></html>