mirror of
https://github.com/systemd/systemd
synced 2024-09-16 06:43:18 +00:00
man: update suggested yum command line in nspawn(1)
This commit is contained in:
parent
88d04e31ce
commit
2b3987a863
|
@ -298,13 +298,13 @@
|
||||||
<refsect1>
|
<refsect1>
|
||||||
<title>Example 1</title>
|
<title>Example 1</title>
|
||||||
|
|
||||||
<programlisting># yum --releasever=17 --nogpgcheck --installroot ~/fedora-tree/ install yum passwd vim-minimal rootfiles systemd
|
<programlisting># yum -y --releasever=19 --nogpg --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora install systemd passwd yum fedora-release vim-minimal
|
||||||
# systemd-nspawn -D ~/fedora-tree /usr/lib/systemd/systemd</programlisting>
|
# systemd-nspawn -bD /srv/mycontainer</programlisting>
|
||||||
|
|
||||||
<para>This installs a minimal Fedora distribution into
|
<para>This installs a minimal Fedora distribution into
|
||||||
the directory <filename>~/fedora-tree/</filename>
|
the directory <filename>/srv/mycontainer/</filename> and
|
||||||
and then boots an OS in a namespace container in it,
|
then boots an OS in a namespace container in
|
||||||
with systemd as init system.</para>
|
it.</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
<refsect1>
|
<refsect1>
|
||||||
|
|
Loading…
Reference in a new issue