On 2020-05-19 10:35, Christophe wrote:

qvm-ls|grep yourvmname

On 20/05/19 10:32AM, Johannes Graumann wrote:
Hello,

See subject line ;)

Sincerely, Joh

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/74dcf0a303aa9afb95809626034f7e1e%40graumannschaft.org.

Thank you. I guess this should then do ...
if ! qvm-ls --running|grep -q $VM; then
 echo "$VM not running or present. Aborting."
 exit 1
fi

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/db92155edb25d83dc9e39e977d2f58d3%40graumannschaft.org.

Reply via email to