Skip to content

Instantly share code, notes, and snippets.

@dryliketoast
Created December 31, 2019 14:01
Show Gist options
  • Save dryliketoast/d20617bcef9c4cbefda0747c50319fda to your computer and use it in GitHub Desktop.
Save dryliketoast/d20617bcef9c4cbefda0747c50319fda to your computer and use it in GitHub Desktop.
within the virtual machine, update grub with this:
GRUB_CMDLINE_LINUX=”console=tty1 console=ttyS0,115200n8″
reboot the virtual machine
so instead of using ssh from the host, you can now do this:
virsh console --domain [virtual-machine-name]
this works with most linux distributions on bare metal (ipmi) or otherwise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment