chiark / gitweb /
man: add Arch Linux entry to systemd-nspawn(5)
authorWilliam Giokas <1007380@gmail.com>
Sat, 26 Jan 2013 17:15:32 +0000 (11:15 -0600)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 28 Jan 2013 04:47:18 +0000 (23:47 -0500)
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.

man/systemd-nspawn.xml

index 777e0a3a77ba0ead624e29111ade46477892c9da..834e2ccf147fef287bb837327db3e9d434737d63 100644 (file)
 
         </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>
 
                         <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>