From: parmentelat Date: Wed, 5 Dec 2018 10:13:23 +0000 (+0100) Subject: copy just the 2 core repos into container when bootstrapping a container fs X-Git-Tag: py3ok~33 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=e1245053d5730b182b3bcff510057884a0a889b7 copy just the 2 core repos into container when bootstrapping a container fs --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 71a7e243..da0ef1c1 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -179,7 +179,7 @@ function fedora_download() { # copy yum config and repo files cp /etc/yum.conf $INSTALL_ROOT/etc/ - cp /etc/yum.repos.d/fedora*.repo $INSTALL_ROOT/etc/yum.repos.d/ + cp /etc/yum.repos.d/fedora{,-updates}.repo $INSTALL_ROOT/etc/yum.repos.d/ # append fedora repo files with desired ${fedora_release} and $basearch for f in $INSTALL_ROOT/etc/yum.repos.d/* ; do