Difference between revisions of "Template:Enable serial console"

From wikieduonline
Jump to navigation Jump to search
Line 2: Line 2:
  
 
1) Enable serial console:
 
1) Enable serial console:
* <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]] [[console]] MACHINE</code>
 
* <code>[[virsh]] [[console]] MACHINE</code>

Revision as of 18:06, 29 June 2022

You need to enable serial console in your VM machine.[1]

1) Enable serial console:

2) Connect to VM:

  • https://www.cyberciti.biz/faq/how-to-enable-kvm-virsh-console-access-for-ubuntu-linux-vm/
  • Advertising: