Difference between revisions of "Virsh --connect"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
<code>virsh --connect qemu:///system start VM_NAME</code>
 
<code>virsh --connect qemu:///system start VM_NAME</code>
  
<code>virsh --connect qemu+ssh://[email protected]/system list</code>
+
virsh --connect qemu+ssh://[email protected]/system list
 
 
 
  virsh --connect qemu://system start VM_NAME
 
  virsh --connect qemu://system start VM_NAME
 
  error: failed to connect to the hypervisor
 
  error: failed to connect to the hypervisor
 
  error: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
 
  error: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
  
Related commands:
+
virsh --connect qemu+ssh://USERNAME@SERVER/system  list
 +
USERNAME@SERVER's password:
 +
error: failed to connect to the hypervisor
 +
error: internal error: received hangup event on socket
 +
 
 +
== Related commands ==
 
* <code>[[virsh console]]</code>
 
* <code>[[virsh console]]</code>
 
* <code>[[virsh start]]</code>
 
* <code>[[virsh start]]</code>

Revision as of 11:58, 5 February 2020

virsh --connect qemu:///system start VM_NAME

virsh --connect qemu+ssh://[email protected]/system list
virsh --connect qemu://system start VM_NAME
error: failed to connect to the hypervisor
error: Cannot read CA certificate '/etc/pki/CA/cacert.pem': No such file or directory
virsh --connect qemu+ssh://USERNAME@SERVER/system  list
USERNAME@SERVER's password:
error: failed to connect to the hypervisor
error: internal error: received hangup event on socket

Related commands

See also

Advertising: