From e4bc8cdd08510370233593ebc265b5599a0dd2dd Mon Sep 17 00:00:00 2001 From: Adrian Reber Date: Fri, 15 May 2026 11:32:12 +0000 Subject: [PATCH] ci: disable metalink in Leap installer and installed system Pass zyppargs on the kernel command line to disable metalink during AutoYaST installation. Also disable metalink in the installed system's zypp.conf before running zypper update, so that all zypper downloads go through the squid proxy without partial/range requests. Add init-scripts progress marker. Generated with Claude Code (https://claude.ai/code) Signed-off-by: Adrian Reber --- ansible/roles/test/templates/grub.cfg | 2 +- ansible/roles/test/templates/leap15.5-autoyast | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ansible/roles/test/templates/grub.cfg b/ansible/roles/test/templates/grub.cfg index 498e433..95ad456 100644 --- a/ansible/roles/test/templates/grub.cfg +++ b/ansible/roles/test/templates/grub.cfg @@ -19,7 +19,7 @@ set timeout=1 menuentry 'Install' { {%- if distro.startswith('leap15') %} - linux linux ro autoyast=http://{{ repo }}/{{ distro }}-autoyast install=http://{{ repo }}/openSUSE-Leap-{{ distro[4:] }}-DVD-{{ arch }}-Current ifcfg={{ interface }}=dhcp textmode=1 display=1 proxy={{ proxy }} vnc=1 VNCPassword=12345678 + linux linux ro autoyast=http://{{ repo }}/{{ distro }}-autoyast install=http://{{ repo }}/openSUSE-Leap-{{ distro[4:] }}-DVD-{{ arch }}-Current ifcfg={{ interface }}=dhcp textmode=1 display=1 proxy={{ proxy }} vnc=1 VNCPassword=12345678 zyppargs="--option download.use_metalink=false" initrd initrd {% else %} linux vmlinuz ro ip={{ interface }}:dhcp inst.ks=http://{{ repo }}/{{ distro }}-kickstart diff --git a/ansible/roles/test/templates/leap15.5-autoyast b/ansible/roles/test/templates/leap15.5-autoyast index dca6823..fc584ca 100644 --- a/ansible/roles/test/templates/leap15.5-autoyast +++ b/ansible/roles/test/templates/leap15.5-autoyast @@ -172,6 +172,10 @@ curl -so /dev/null http://{{ repo }}/autoyast-progress/pre-install-leap15.5 || t > /etc/zypp/zypp.conf curl -so /dev/null http://{{ repo }}/autoyast-progress/zypper-update-leap15.5 || true zypper -n update curl -so /dev/null http://{{ repo }}/autoyast-progress/zypper-update-done-leap15.5 || true @@ -200,6 +204,7 @@ curl -so /dev/null http://{{ repo }}/autoyast-progress/post-complete-leap15.5 ||