From b8b9d8f5e509c991692159fd1776f5b33507bb8c Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 22 Oct 2015 14:11:22 -0400 Subject: man: also add --enablerepo=updates to dnf invocation Without the updates repo, we are installing packages from the time that that version of Fedora was released. Normally, during the lifetime of the release most packages are updated, so most of the packages installed would be outdated, and the first update after installation would update a massive set of packages. Avoid all this by installing from the updates repo from the start. --- man/systemd-nspawn.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'man/systemd-nspawn.xml') diff --git a/man/systemd-nspawn.xml b/man/systemd-nspawn.xml index 0925e9d187..ddad762653 100644 --- a/man/systemd-nspawn.xml +++ b/man/systemd-nspawn.xml @@ -850,7 +850,7 @@ Build and boot a minimal Fedora distribution in a container - # dnf -y --releasever=23 --installroot=/srv/mycontainer --disablerepo=* --enablerepo=fedora install systemd passwd dnf fedora-release vim-minimal + # 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 This installs a minimal Fedora distribution into the -- cgit v1.2.3-54-g00ecf