From: Chen Hanxiao Date: Wed, 8 Jan 2014 03:17:38 +0000 (+0800) Subject: docs: add LXC multi console command docs and a example X-Git-Tag: CVE-2014-1447-1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8560093394624559368e4a0ac3b4cd1ef8378b83;p=thirdparty%2Flibvirt.git docs: add LXC multi console command docs and a example Signed-off-by: Chen Hanxiao --- diff --git a/docs/drvlxc.html.in b/docs/drvlxc.html.in index 7494eb3880..0f3efb0ec9 100644 --- a/docs/drvlxc.html.in +++ b/docs/drvlxc.html.in @@ -659,16 +659,25 @@ running, this will turn it into a "transient" guest.

The virsh console command can be used to connect -to the text console associated with a container. If the container -has been configured with multiple console devices, then the ---devname argument can be used to choose the -console to connect to +to the text console associated with a container.

 # virsh -c lxc:/// console myguest
 
+

+If the container has been configured with multiple console devices, +then the --devname argument can be used to choose the +console to connect to. +In LXC, multiple consoles will be named +as 'console0', 'console1', 'console2', etc. +

+ +
+# virsh -c lxc:/// console myguest --devname console1
+
+

Running commands in a container