Difference between revisions of "Virsh console"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
First 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>
 
First 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>
  
<pre>
+
  sudo [[systemctl enable]] [email protected]
  sudo systemctl enable [email protected]
 
 
  sudo systemctl start [email protected]
 
  sudo systemctl start [email protected]
</pre>
 
 
 
  
 
<code>[[virsh]] console MACHINE</code>
 
<code>[[virsh]] console MACHINE</code>

Revision as of 08:05, 21 May 2020

First you need to enable serial console in your VM Machine.[1]

sudo systemctl enable [email protected]
sudo systemctl start [email protected]

virsh console MACHINE


virsh console MACHINE
Connected to domain MACHINE
Escape character is ^]
error: operation failed: Active console session exists for this domain


Related commands

See also

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