diff --git a/playbooks/roles/mirror-update/files/opensuse-mirror-update b/playbooks/roles/mirror-update/files/opensuse-mirror-update index c38d6eee21..e7384bb379 100755 --- a/playbooks/roles/mirror-update/files/opensuse-mirror-update +++ b/playbooks/roles/mirror-update/files/opensuse-mirror-update @@ -33,13 +33,10 @@ OBS_REPOS=() K5START="k5start -t -f /etc/opensuse.keytab service/opensuse-mirror -- $TIMEOUT" # NOTE(hwoarang): Ensure old distros are not mirrored aymore -for REPO in distribution/leap/15.1 update/leap/15.1 distribution/leap/15.2 \ - repositories/Cloud:/OpenStack:/Stein/openSUSE_Leap_15.1 \ - repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_15.1 \ - repositories/Cloud:/OpenStack:/Ussuri/openSUSE_Leap_15.2 \ - repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_15.2 \ - network:/ha-clustering:/Stable/CentOS_CentOS-7 \ - update/tumbleweed tumbleweed ; do +for REPO in distribution/leap update/leap \ + repositories/Cloud: \ + repositories/Virtualization: \ + repositories/network: ; do if [ -d $BASE/$REPO ]; then $K5START rm -rf $BASE/$REPO fi