File tree Expand file tree Collapse file tree
ansible/roles/test/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ set timeout=1
1919
2020menuentry ' Install' {
2121{%- if distro.startswith(' leap15' ) %}
22- 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
22+ 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 "
2323 initrd initrd
2424{% else %}
2525 linux vmlinuz ro ip ={{ interface }}:dhcp inst.ks =http://{{ repo }}/{{ distro }}-kickstart
Original file line number Diff line number Diff line change @@ -172,6 +172,10 @@ curl -so /dev/null http://{{ repo }}/autoyast-progress/pre-install-leap15.5 || t
172172 <![CDATA[
173173curl -so /dev/null http://{{ repo }}/autoyast-progress/post-started-leap15.5 || true
174174systemctl stop sshd
175+ # Metalink causes zypper to use partial/range downloads which
176+ # breaks caching in the squid proxy.
177+ mkdir -p /etc/zypp
178+ echo "download.use_metalink = false" >> /etc/zypp/zypp.conf
175179curl -so /dev/null http://{{ repo }}/autoyast-progress/zypper-update-leap15.5 || true
176180zypper -n update
177181curl -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 ||
200204 <script >
201205 <source >
202206 <![CDATA[
207+ curl -so /dev/null http://{{ repo }}/autoyast-progress/init-scripts-leap15.5 || true
203208systemctl enable sshd
204209 ]]>
205210 </source >
You can’t perform that action at this time.
0 commit comments