]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
mg-hosts: document "power" command
authorWei Liu <wei.liu2@citrix.com>
Mon, 7 Dec 2015 17:24:23 +0000 (17:24 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Tue, 8 Dec 2015 14:51:24 +0000 (14:51 +0000)
Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
mg-hosts

index a911099c0d7c3dec213c1479d3e3ed985c524009..0d02c569a68cec9f51a1ddd1e13581a2b802f527 100755 (executable)
--- a/mg-hosts
+++ b/mg-hosts
 #               of osstest.  Will use "sudo". The HOST(s) must be
 #               allocated (via mg-allocate HOST).
 #
+#  ./mg-hosts power HOST ACTION
+#               Power cycles the host. Host must be allocated to the current
+#               user.  Actions are:
+#                "0" or "on"    : power on
+#                "1" or "off"   : power off
+#                "c" or "r"     : reboot
+#
 #  ./mg-hosts create-like SOURCE-HOST NEW-HOST[,NEW-HOST...]
 #               Create new host(s).  This does NOT copy the
 #               flags and properties (!)