summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-18 09:39:30 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-18 17:14:05 +0200
commit551072321e2beb97e2fb6a195c40bdc7612cbb51 (patch)
tree56379d8ebf82a1d24816e1a36e406870f429d6b2 /man
parentc47f86e660176a1149f3afc5e2eb12ea3bcbb6d9 (diff)
downloadsystemd-551072321e2beb97e2fb6a195c40bdc7612cbb51.tar.gz
man: recommend using /var/lib/machines in systemd-nspawn(1)
Also update the instruction to latest Fedora version.
Diffstat (limited to 'man')
-rw-r--r--man/systemd-nspawn.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml
index 3951e32e8f..b741a1fff9 100644
--- a/man/systemd-nspawn.xml
+++ b/man/systemd-nspawn.xml
@@ -1075,14 +1075,17 @@
<example>
<title>Build and boot a minimal Fedora distribution in a container</title>
- <programlisting># dnf -y --releasever=25 --installroot=/srv/mycontainer \
+ <programlisting># dnf -y --releasever=27 --installroot=/var/lib/machines/f27container \
--disablerepo='*' --enablerepo=fedora --enablerepo=updates install \
systemd passwd dnf fedora-release vim-minimal
-# systemd-nspawn -bD /srv/mycontainer</programlisting>
+# systemd-nspawn -bD /var/lib/machines/f27container</programlisting>
<para>This installs a minimal Fedora distribution into the
- directory <filename noindex='true'>/srv/mycontainer/</filename>
- and then boots an OS in a namespace container in it.</para>
+ directory <filename noindex='true'>/var/lib/machines/f27container</filename>
+ and then boots an OS in a namespace container in it. Because the installation
+ is located underneath the standard <filename>/var/lib/machines/</filename>
+ directory, it is also possible to start the machine using
+ <command>systemd-nspawn -M f27container</command>.</para>
</example>
<example>