]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
opensuse: Switch to https mirror
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 18 Oct 2023 11:33:28 +0000 (13:33 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 18 Oct 2023 11:33:28 +0000 (13:33 +0200)
From the experiment, it seems like the https mirror is reliable now
so let's use it as the default.

mkosi.conf.d/20-opensuse.conf
mkosi/distributions/opensuse.py

index b7ef80090fef168535e842c918fca78d882a7b49..14279b66b82cbd2b18d98f0ecb3371fc4a925cc8 100644 (file)
@@ -1,9 +1,6 @@
 [Match]
 Distribution=opensuse
 
-[Distribution]
-Mirror=https://download.opensuse.org
-
 [Content]
 Packages=kernel-kvmsmall
          systemd
index 8cb8f1ed5dcad62b6767ab3cb73e1d86c96c5c83..2a5063286b9f539e30dc91d06649face38933ec9 100644 (file)
@@ -81,7 +81,7 @@ class Installer(DistributionInstaller):
         if release == "leap":
             release = "stable"
 
-        mirror = state.config.mirror or "http://download.opensuse.org"
+        mirror = state.config.mirror or "https://download.opensuse.org"
 
         # If the release looks like a timestamp, it's Tumbleweed. 13.x is legacy
         # (14.x won't ever appear). For anything else, let's default to Leap.