]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: fix lxc examples
authorSerge Hallyn <serge.hallyn@canonical.com>
Tue, 15 Jun 2010 22:46:21 +0000 (16:46 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 24 Aug 2010 17:14:46 +0000 (11:14 -0600)
* docs/drvlxc.html.in: Use correct VM name, and mention that
libvirt_lxc might be in an alternate location.

AUTHORS
docs/drvlxc.html.in

diff --git a/AUTHORS b/AUTHORS
index 8b037a185a3cae83e4e3afcc8b532780e460cfde..0521b3d6710c63a60e97fe34618c4e001e2c1b9b 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -128,6 +128,7 @@ Patches have also been contributed by:
   Alan Pevec           <apevec@redhat.com>
   Aurelien Rougemont   <beorn@binaries.fr>
   Patrick Dignan       <pat_dignan@dell.com>
+  Serge Hallyn         <serge.hallyn@canonical.com>
 
   [....send patches to get your name here....]
 
index cfcfdab2abe9f01e4fb0a7b24c2328633cf101f0..35058c4f5b657d11979da60f9ebc4ab53c2c327e 100644 (file)
@@ -34,6 +34,11 @@ start it using
 &lt;/domain&gt;
 </pre>
 
+<p>
+In the &lt;emulator&gt; element, be sure you specify the correct path
+to libvirt_lxc, if it does not live in /usr/libexec on your system.
+</p>
+
 <p>
 The next example assumes there is a private root filesystem
 (perhaps hand-crafted using busybox, or installed from media,
@@ -71,14 +76,17 @@ debootstrap, whatever) under /opt/vm-1-root:
 In both cases, you can define and start a container using:</p>
 <pre>
 virsh --connect lxc:/// define v1.xml
-virsh --connect lxc:/// start v1.xml
+virsh --connect lxc:/// start vm1
 </pre>
 and then get a console  using:
 <pre>
-virsh --connect lxc:/// console v1
+virsh --connect lxc:/// console vm1
 </pre>
 <p>Now doing 'ps -ef' will only show processes in the container, for
-instance.
+instance.  You can undefine it using
 </p>
+<pre>
+virsh --connect lxc:/// undefine vm1
+</pre>
   </body>
 </html>