man: add zypper instructions for systemd-nspawn

v2:
- add -c and update the list of packages
v3:
- link to a man page on mankier.com
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2017-07-02 13:37:27 -04:00
parent fa0c9e6315
commit f518ee04d7
1 changed files with 13 additions and 0 deletions

View File

@ -1090,6 +1090,18 @@
in a namespace container in it.</para>
</example>
<example>
<title>Install the OpenSUSE Tumbleweed rolling distribution</title>
<programlisting># zypper --root=/var/lib/machines/tumbleweed ar -c \
https://download.opensuse.org/tumbleweed/repo/oss tumbleweed
# zypper --root=/var/lib/machines/tumbleweed refresh
# zypper --root=/var/lib/machines/tumbleweed install --no-recommends \
systemd shadow zypper openSUSE-release vim
# systemd-nspawn -M tumbleweed passwd root
# systemd-nspawn -M tumbleweed -b</programlisting>
</example>
<example>
<title>Boot into an ephemeral snapshot of the host system</title>
@ -1132,6 +1144,7 @@
<citerefentry project='mankier'><refentrytitle>dnf</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry project='die-net'><refentrytitle>debootstrap</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry project='archlinux'><refentrytitle>pacman</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry project='mankier'><refentrytitle>zypper</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.slice</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>machinectl</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
<citerefentry project='man-pages'><refentrytitle>btrfs</refentrytitle><manvolnum>8</manvolnum></citerefentry>