Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active August 29, 2022 14:47
Show Gist options
  • Save plembo/7675a3e2e7c81cef25a37c3b686e9ae9 to your computer and use it in GitHub Desktop.
Save plembo/7675a3e2e7c81cef25a37c3b686e9ae9 to your computer and use it in GitHub Desktop.
Enable ttyS0 on KVM guest

Enable serial console access to a KVM guest

In order to access a KVM (libvirtd) guest using virsh console, you first need to enable a serial console on the guest.

Log into the guest and run the following commands:

$ sudo systemctl enable [email protected]
$ sudo systemctl start [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment