[systemd-commits] man/systemd-nspawn.xml

Zbigniew Jędrzejewski-Szmek zbyszek at kemper.freedesktop.org
Thu Dec 12 20:20:02 PST 2013


 man/systemd-nspawn.xml |   11 +++++++++++
 1 file changed, 11 insertions(+)

New commits:
commit f9f4dd51bdb016bab84f7fb3cf47a2ad102b4c76
Author: Zbigniew Jędrzejewski-Szmek <zbyszek at in.waw.pl>
Date:   Thu Dec 12 23:14:48 2013 -0500

    man: add another nspawn example
    
    Taken from https://bugs.freedesktop.org/show_bug.cgi?id=68369.

diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 75d2e6d..6b7ba98 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -432,6 +432,17 @@
         </refsect1>
 
         <refsect1>
+                <title>Example 5</title>
+
+                <programlisting># btrfs subvolume snapshot / /.tmp
+# systemd-nspawn --private-network -D /.tmp -b</programlisting>
+
+                <para>This runs a copy of the host system in a
+                btrfs snapshot.</para>
+        </refsect1>
+
+
+        <refsect1>
                 <title>Exit status</title>
 
                 <para>The exit code of the program executed in the



More information about the systemd-commits mailing list