Unable to get console for virtual machines

I followed this otherwise excellent tutorial on how to get Xen to work with Ubuntu, but I cannot get the console in my virtual machine (Home). I have the line extra = '2 console=xvc0' in the / etc / xen / hostname_here .cfg file, as they say, but I cannot get the console on it.

If I statically assign IP to a virtual machine, I can use SSH, but at the moment I need to be able to use DHCP to give it an address (and since then I'm trying to debug there is a problem), I know that I have there is a free DHCP address (although now I get more information), so I do not think that the problem. I looked at Google and the Xen forums to no avail.

Any ideas?

+4
source share
1 answer

I did another tutorial on setting up my xen on ubuntu before 8.04, but now updated to 8.04. I used an extra line in my cfg as folows:

 extra = ' TERM=xterm xencons=tty console=tty1' 

It allows me to "xm console hostname" from dom0. I think this was due to the problem of installing xen in versions prior to 8.04 (I'm not sure which version was). I am not sure that the same change is necessary in 8.04, since I am updating and have not changed any of my domU configurations after the update.

+5
source

Source: https://habr.com/ru/post/1276298/


All Articles