Small doc fixes

* src/libvirt.c: fix the doc of virNodeGetFreeMemory to say bytes
* docs/drvlxc.html.in docs/drvlxc.html: fix command used in examples
daniel
This commit is contained in:
Daniel Veillard
2009-04-17 15:34:53 +00:00
parent d24f6aabbb
commit 81e6a22192
4 changed files with 14 additions and 7 deletions

View File

@@ -192,11 +192,11 @@ debootstrap, whatever) under /opt/vm-1-root:
<p>
In both cases, you can define and start a container using:</p>
<pre>
lxc --connect lxc:/// define v1.xml
lxc --connect lxc:/// start v1.xml
virsh --connect lxc:/// define v1.xml
virsh --connect lxc:/// start v1.xml
</pre>
<pre>
lxc --connect lxc:/// console v1
virsh --connect lxc:/// console v1
</pre>
<p>Now doing 'ps -ef' will only show processes in the container, for
instance.

View File

@@ -70,12 +70,12 @@ debootstrap, whatever) under /opt/vm-1-root:
<p>
In both cases, you can define and start a container using:</p>
<pre>
lxc --connect lxc:/// define v1.xml
lxc --connect lxc:/// start v1.xml
virsh --connect lxc:/// define v1.xml
virsh --connect lxc:/// start v1.xml
</pre>
and then get a console using:
<pre>
lxc --connect lxc:/// console v1
virsh --connect lxc:/// console v1
</pre>
<p>Now doing 'ps -ef' will only show processes in the container, for
instance.