]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: let's enclose * in shell examples in ''
authorLennart Poettering <lennart@poettering.net>
Sat, 24 Oct 2015 21:05:51 +0000 (23:05 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 24 Oct 2015 21:05:51 +0000 (23:05 +0200)
Technically, it's safer that way, since dnf is supposed to parse the
"*", not the shell. It doesn't really matter too much in real life (as
the expression is too complex), but let's better be safe than sorry, and
make sure people won't file bugs about this...

man/systemd-nspawn.xml

index ddad762653ca9ed7e954fe22b8d6fe6b56099b6f..9d939e0da5ad5cfc8618f3aab408e9d2923dc47d 100644 (file)
     <example>
       <title>Build and boot a minimal Fedora distribution in a container</title>
 
-      <programlisting># dnf -y --releasever=23 --installroot=/srv/mycontainer --disablerepo=* --enablerepo=fedora --enablerepo=updates install systemd passwd dnf fedora-release vim-minimal
+      <programlisting># dnf -y --releasever=23 --installroot=/srv/mycontainer --disablerepo='*' --enablerepo=fedora --enablerepo=updates install systemd passwd dnf fedora-release vim-minimal
 # systemd-nspawn -bD /srv/mycontainer</programlisting>
 
       <para>This installs a minimal Fedora distribution into the