I have a working 15.2 unattended (autoyast) installation using local mirrors (so no need for internet access, as the mirrors are in the company’s server) but when I’m trying to apply that concept to 15.3 (after adjusting the .xml file) the installation wants to reach the Internet repos for:
Even when I have them in the autoyast .xml file, the installer will renamed them to:
and it will add the “default” (Internet) ones (download.opensuse.org)
If I “skip” the repos, it will continue. But I want an unattended installation (like I have with 15.2)
Is there a way to have a fully unattended installation without requiring Internet access?
My mirror contain all necessary repos, I checked that taking a look at the logs.
But basically the unattended installation fails with two repos:
which are, of course, included in my mirror.
The autoyast.xml is a tweaked (for 15.3) version based on 15.2 (which works).
I even added the repos entries for the local mirrors, including “sle” and “backports”
The way it renames them is, the installer (as per the autoyast.xml file), will create the .repo files, including these two:
After reboot and before finishing the installation, those files will be renamed to:
The “skip” part is after reboot and before finishing the installation, it wants to get updated from those 2 repos, as the test machines has no direct Internet access, the installer will say that can’t reach the opensuse.org repo and will ask to skip, retry, etc…
About the autoyast.xml, should I paste the text here?
I wonder why repo-backports-debug-update.repo is missing.
-rw-r--r-- 1 root root 159 Nov 1 12:14 repo-sle-update.repo
-rw-r--r-- 1 root root 208 Nov 2 12:47 repo-sle-update.repo_1
As released Leap 15.3 missed two update repositories (sle and backports) which were later added as part of openSUSE-release package update. openSUSE-release unconditionally installs files under /etc/zypp/repos.d and these files reference download.opensuse.org. What most likely happens here - first openSUSE-release gets installed and places these repo definitions in /etc/zypp/repos.d. Then YaST installer creates repos according to your autoinst file; it generates unique names and adds them as xxx_1.repo files.
What may work is removing these extra repo files after package installation is finished, probably in chroot script.
In any case this deserves bug report. It is simply wrong to force repository with fixed location on every user.