Re: How to open the graphical console from the command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hallo Pavel:

First of all, many thanks for your answer.


> virsh --connect qemu:///system start UbuntuMATE1804

Is there any easy way to detect whether the virtual machine is already running? Otherwise, I get this:

error: Domain is already active

And the exit code is 1. This way, my script cannot tell whether the virtual machine failed to start or is already running, so it does not know whether it should proceed to the next step (opening the graphical console).

Thanks again,
  rdiez

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux