mirror of
https://github.com/systemd/systemd
synced 2024-09-06 08:46:19 +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>
|
||||
<title>Example 1</title>
|
||||
|
||||
<programlisting># yum --releasever=17 --nogpgcheck --installroot ~/fedora-tree/ install yum passwd vim-minimal rootfiles systemd
|
||||
# systemd-nspawn -D ~/fedora-tree /usr/lib/systemd/systemd</programlisting>
|
||||
<programlisting># yum -y --releasever=19 --nogpg --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora install systemd passwd yum fedora-release vim-minimal
|
||||
# systemd-nspawn -bD /srv/mycontainer</programlisting>
|
||||
|
||||
<para>This installs a minimal Fedora distribution into
|
||||
the directory <filename>~/fedora-tree/</filename>
|
||||
and then boots an OS in a namespace container in it,
|
||||
with systemd as init system.</para>
|
||||
the directory <filename>/srv/mycontainer/</filename> and
|
||||
then boots an OS in a namespace container in
|
||||
it.</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1>
|
||||
|
|
Loading…
Reference in a new issue