diff options
author | William Giokas <1007380@gmail.com> | 2013-01-26 11:15:32 -0600 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-01-27 23:47:18 -0500 |
commit | 68562936c243a2e2190a7232c4805ffd094e9b3b (patch) | |
tree | e881899fe59a80f483c6abbf9c1b6a6e2ce6d551 /man | |
parent | 350b6a6560759cbc9903a0f9275e271cd840d6ac (diff) |
man: add Arch Linux entry to systemd-nspawn(5)
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.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-nspawn.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 777e0a3a77..834e2ccf14 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> |