summaryrefslogtreecommitdiff
path: root/man/systemd-nspawn.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-12 23:14:48 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-12-12 23:19:45 -0500
commitf9f4dd51bdb016bab84f7fb3cf47a2ad102b4c76 (patch)
treec6aac1437ed073efe3c9d7ac8b84bd14a9d3d7d6 /man/systemd-nspawn.xml
parent12179984a38fe74581333fbcdc11c822d81f505f (diff)
man: add another nspawn example
Taken from https://bugs.freedesktop.org/show_bug.cgi?id=68369.
Diffstat (limited to 'man/systemd-nspawn.xml')
-rw-r--r--man/systemd-nspawn.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 75d2e6d72e..6b7ba9821e 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