diff --git a/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers b/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers index 720ac8a965..38abb99d5c 100644 --- a/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers +++ b/roles/mirrormanager/mirrorlist_proxy/files/restart-mirrorlist-containers @@ -6,6 +6,11 @@ # Initial expected state is mirrorlist1 running, mirrorlist2 not running and new pkl +if [ ! -f /srv/mirrorlist/data/mirrorlist2/global_netblocks.txt ]; +then + cp /srv/mirrorlist/data/mirrorlist1/* srv/mirrorlist/data/mirrorlist2/ +fi + ## Check that pkl is newer than old pkl if [ /srv/mirrorlist/data/mirrorlist1/mirrorlist_cache.pkl -nt /srv/mirrorlist/data/mirrorlist2/mirrorlist_cache.pkl ]; then # new pkl