how to enter a VM from the the node console?

nttec

Renowned Member
Jun 1, 2016
95
0
71
41
is there a command like

Code:
pct enter veid

that will let you enter a VM's?
 
PCT or LXC is an Container, they not running her own Kernel, so changing into the container isn't a big deal. KVM /QEMU is full virtualization, they running his own Kernel and therefore, no its not possible to enter it this way. You can only enter it via SSH from the Host or other Hacks which you implement but out of the box it's not possible.
 
just as I thought. thank you for the answer. will share this to my team gladly.
 
There is the option of adding a serial port to a KVM guest, and connect to it via `qm terminal $vmid`. However as @sb-jw pointed out - this needs to be configured inside the guest and does not always work out of the box (most linux distros), or possible (Windows).

hope this helps!