[systemd-devel] [PATCH] [doc] Added Arch Linux entry to systemd-nspawn doc
William Giokas
1007380 at gmail.com
Sat Jan 26 09:15:32 PST 2013
Archlinux has a similar tool to debbotstrap in the arch-install-scripts
package that will install to a specified directory. This is generally
used for installation, so the -d flag must be passed to tell it to
install to a non-mountpoint directory.
Signed-off-by: William Giokas <1007380 at gmail.com>
---
man/systemd-nspawn.xml | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 777e0a3..834e2cc 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -321,6 +321,17 @@
</refsect1>
<refsect1>
+ <title>Example 3</title>
+
+ <programlisting># pacstrap -c -d ~/arch-tree/ base
+# systemd-nspawn -bD ~/arch-tree/</programlisting>
+
+ <para>This installs a mimimal Arch Linux distribution into
+ the directory <filename>~/arch-tree/</filename> and then
+ boots an OS in a namespace container in it.</para>
+ </refsect1>
+
+ <refsect1>
<title>Exit status</title>
<para>The exit code of the program executed in the
@@ -334,6 +345,7 @@
<citerefentry><refentrytitle>chroot</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry><refentrytitle>yum</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>debootstrap</refentrytitle><manvolnum>8</manvolnum></citerefentry>
+ <citerefentry><refentrytitle>pacman</refentrytitle><manvolnum>8</manvolnum></citerefentry>
</para>
</refsect1>
--
1.8.1.1.439.g50a6b54
More information about the systemd-devel
mailing list