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 <1007...@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 _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel