提交 85600933 编写于 作者: C Chen Hanxiao 提交者: Michal Privoznik

docs: add LXC multi console command docs and a example

Signed-off-by: NChen Hanxiao <chenhanxiao@cn.fujitsu.com>
上级 afba32b8
...@@ -659,16 +659,25 @@ running, this will turn it into a "transient" guest. ...@@ -659,16 +659,25 @@ running, this will turn it into a "transient" guest.
<p> <p>
The <code>virsh console</code> command can be used to connect The <code>virsh console</code> command can be used to connect
to the text console associated with a container. If the container to the text console associated with a container.
has been configured with multiple console devices, then the
<code>--devname</code> argument can be used to choose the
console to connect to
</p> </p>
<pre> <pre>
# virsh -c lxc:/// console myguest # virsh -c lxc:/// console myguest
</pre> </pre>
<p>
If the container has been configured with multiple console devices,
then the <code>--devname</code> argument can be used to choose the
console to connect to.
In LXC, multiple consoles will be named
as 'console0', 'console1', 'console2', etc.
</p>
<pre>
# virsh -c lxc:/// console myguest --devname console1
</pre>
<h3><a name="usageEnter">Running commands in a container</a></h3> <h3><a name="usageEnter">Running commands in a container</a></h3>
<p> <p>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册