Browse Source

Merge "Skip mirroring live and jeos images for opensuse"

Zuul 1 month ago
parent
commit
65d9a8739a
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      modules/openstack_project/files/mirror/opensuse-mirror-update.sh

+ 2
- 1
modules/openstack_project/files/mirror/opensuse-mirror-update.sh View File

@@ -28,6 +28,7 @@ K5START="k5start -t -f /etc/opensuse.keytab service/opensuse-mirror -- timeout -
28 28
 
29 29
 # NOTE(hwoarang): Ensure old distros are not mirrored aymore
30 30
 for REPO in distribution/leap/42.2 update/leap/42.2 \
31
+        distribution/leap/15.0/jeos distribution/leap/15.0/live \
31 32
         repositories/Cloud:/OpenStack:/Master/openSUSE_Leap_42.3 ; do
32 33
     if [ -d $BASE/$REPO ]; then
33 34
         $K5START rm -rf $BASE/$REPO
@@ -36,7 +37,7 @@ done
36 37
 
37 38
 # NOTE(hwoarang): 15.0 is newer than 42.3.
38 39
 for DISTVER in 42.3 15.0; do
39
-    REPO=distribution/leap/$DISTVER
40
+    REPO=distribution/leap/$DISTVER/repo
40 41
     if ! [ -f $BASE/$REPO ]; then
41 42
         $K5START mkdir -p $BASE/$REPO
42 43
     fi

Loading…
Cancel
Save