Modification : vm_{host,hosted,remote} -> {host,local,remote}/ .
[lhc/ateliers.git] / host / xen-vm-stop
diff --git a/host/xen-vm-stop b/host/xen-vm-stop
new file mode 100755 (executable)
index 0000000..7672338
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh -eu
+tool=$(readlink -e "${0%/*}/..")
+. "$tool"/host/lib.sh
+
+sudo xm shutdown $vm_fqdn