Proxmox: Difference between revisions

From DWIKI
Line 8: Line 8:


==enable serial console in guest==
==enable serial console in guest==
verify this is needed:
looks like this is not needed:
 
  systemctl enable serial-getty@ttyS0.service
  systemctl enable serial-getty@ttyS0.service


in /etc/default/grub
in /etc/default/grub
  GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
  GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"
add
serial0: socket
to /etc/pve/qemu-server/[vmid].conf and restart


===agetty: /dev/ttyS0: not a device===
===agetty: /dev/ttyS0: not a device===
systemctl status useless again, add
systemctl status useless again, means the serial bit is missing from <vmid>.conf
serial0: socket
to /etc/pve/qemu-server/[vmid].conf and reboot

Revision as of 19:03, 29 April 2020

Links

FAQ

Error: VM quit/powerdown failed - got timeout

qm stop VMID


enable serial console in guest

looks like this is not needed:

systemctl enable serial-getty@ttyS0.service

in /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="console=ttyS0"

add

serial0: socket

to /etc/pve/qemu-server/[vmid].conf and restart


agetty: /dev/ttyS0: not a device

systemctl status useless again, means the serial bit is missing from <vmid>.conf