Created
January 16, 2013 18:26
-
-
Save stefanozanella/4549464 to your computer and use it in GitHub Desktop.
Enable serial console output in CentOS (useful for OpenStack + KVM)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "ttyS0" > /etc/securetty | |
vi /etc/grub.conf | |
# Add console=ttyS0 to the end of kernel line(s) | |
vi /etc/sysconfig/init | |
# Edit ACTIVE_CONSOLES to look like: | |
ACTIVE_CONSOLES="/dev/tty[1-6] /dev/ttyS0" | |
# If on a live system, do the following | |
init q | |
# After that, if on KVM virtual machine, it should be possible to do | |
virsh console <vm_name> | |
# and see the console output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment