From: Thierry Parmentelat Date: Thu, 4 Jul 2024 14:12:56 +0000 (+0200) Subject: some of our boxes no longer have the default fedora repos, they use the local mirrors X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3941b16076e8a6dd45e7ebe850c3bac25e5095d0;p=build.git some of our boxes no longer have the default fedora repos, they use the local mirrors --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 58030ccc..317d694a 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -202,6 +202,8 @@ function fedora_download() { # copy yum config and repo files cp /etc/yum.conf $INSTALL_ROOT/etc/ cp /etc/yum.repos.d/fedora{,-updates}.repo $INSTALL_ROOT/etc/yum.repos.d/ + # on boxes managed by Francis's upgrade script, we use other mirrors + cp /etc/yum.repos.d/so-fedora{,-updates}.repo $INSTALL_ROOT/etc/yum.repos.d/ # append fedora repo files with hardwired releasever and basearch if [ -z "$USE_UPSTREAM_REPOS" ]; then