Diff
Not logged in

Differences From Artifact [7b9772c1b2]:

To Artifact [e19838553c]:


1
2
3
4
5
6
7
8
9
10
11
12

1
2
3
4
5
6
7
8
9
10
11

12











-
+
#!/bin/sh
if [ -z "$1" ]; then
	echo "Usage: $0 vm-name"
	exit 1
fi

uri=`vms spiceuri $1`
if [ $? -gt 0 ]; then
	exit 1
fi
spicy $uri </dev/null
vws running $1 && /usr/lib/vms/ask_shutdown $1
vws spiceuri $1 >/dev/null && /usr/lib/vms/ask_shutdown $1