Proxmox

From DWIKI
Revision as of 12:31, 3 May 2020 by Tony (talk | contribs) (→‎FAQ)

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 console=tty0"

ttyS0 is for qm terminal, tty0 is for the "console" buttion in UI

  1. debian based

update-grub

  1. redhat based

grub2-mkconfig --output=/boot/grub2/grub.cfg


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

TASK ERROR: command 'apt-get update' failed: exit code 100

subtle way of telling you to get subscription of at least change the sources list