diff --git a/man/custom-entities.ent.in b/man/custom-entities.ent.in index 3e39542bbc..63fb6bb556 100644 --- a/man/custom-entities.ent.in +++ b/man/custom-entities.ent.in @@ -18,5 +18,5 @@ - - + + diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 6d6fd2de11..5b6bf9bb20 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -1901,12 +1901,14 @@ After=sys-subsystem-net-devices-ens1.device Build and boot a minimal Fedora distribution in a container # dnf -y --releasever=&fedora_latest_version; --installroot=/var/lib/machines/f&fedora_latest_version; \ - --repo=fedora --repo=updates --setopt=install_weak_deps=False install \ - passwd dnf fedora-release vim-minimal util-linux systemd systemd-networkd + --use-host-config --setopt=install_weak_deps=0 \ + --repo=fedora --repo=updates install \ + passwd dnf fedora-release nano util-linux systemd systemd-networkd # systemd-nspawn -bD /var/lib/machines/f&fedora_latest_version; - This installs a minimal Fedora distribution into the - directory /var/lib/machines/f&fedora_latest_version; + (Omit --use-host-config when using dnf <= 4.) + This installs a minimal Fedora distribution into the directory + /var/lib/machines/f&fedora_latest_version; and then boots that OS in a namespace container. Because the installation is located underneath the standard /var/lib/machines/ directory, it is also possible to start the machine using