mg-hosts: document "power" command
PATCH 1/1 mg-hosts: document "power" command
Signed-off-by Wei Liu <[email protected]>
--- mg-hosts | 7 +++++++ 1 file changed, 7 insertions(+)
mg-hosts +7 -0
@@ -24,6 +24,13 @@ # 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 (!)
Signature · 1 line
2.1.4
Quoted 16 lines · Wei Liu
Signed-off-by Wei Liu <[email protected]>---
mg-hosts | 7 +++++++1 file changed, 7 insertions(+)mg-hosts +2
-0@@ -24,6 +24,13 @@ # 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 thecurrent
mg-hosts line 32
Quoted 4 lines
mg-hosts +4
-0+# user. Actions are: +# "0" or "on" : power on +# "1" or "off" : power off +# "c" or "r" : reboot
I think in reality the ACTION needs merely to start with any of those strings, but in the interests of not making the docs too confusing I think the above is good.
Acked-by Ian Campbell <[email protected]>
(c is for "cycle" I guess?)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel