Difference between revisions of "Template:Enable serial console"
Jump to navigation
Jump to search
↑ https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
You need to enable [[serial]] console in your VM machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref> | You need to enable [[serial]] console in your VM machine.<ref>https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/</ref> | ||
− | 1) Enable serial console: | + | 1) Enable serial console on VM_MACHINE: |
− | * <code>sudo [[systemctl enable]] [[-now]] [[serial-getty]]@[[ttyS0]][[.service]]</code> | + | * <code>sudo [[systemctl enable]] [[--now]] [[serial-getty]]@[[ttyS0]][[.service]]</code> |
2) Connect to VM: | 2) Connect to VM: | ||
− | * <code>[[virsh | + | * <code>[[virsh console]] MACHINE</code> |
Latest revision as of 18:08, 29 June 2022
You need to enable serial console in your VM machine.[1]
1) Enable serial console on VM_MACHINE:
2) Connect to VM:
virsh console MACHINE
Advertising: