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:
backport
sle
Even when I have them in the autoyast .xml file, the installer will renamed them to:
repo-backports-update.repo_1
repo-sle-update.repo_1
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?
You do not show what you have so it is impossible to comment on it.
the installer will renamed them to
It renames what exactly? It renames when - before installation, during installation, after installation?
If I “skip” the repos, it will continue.
What does it mean?
Please explain your problem so that it is also understandable to others. We are not staying behind your shoulder and do not see what you are doing.
P.S. I actually suspect what is going on, but to make this theory more substantiated at least description of how you perform installation and your autoyast configuration file are needed.
My mirror contain all necessary repos, I checked that taking a look at the logs.
But basically the unattended installation fails with two repos:
sle
backports
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:
repo-backports-update.repo
repo-sle-update.repo
After reboot and before finishing the installation, those files will be renamed to:
and two new files, with the original names, will be there pointing to the download.opensuse.org repos.
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.
In fact the repos: repo-backports-debug-update and repo-sle-debug-update where there, but as they were disabled by default, I moved them to another folder.
Anyway, I just tried with a “chroot” script (to create new sle/backports repo files) and didn’t work. I’ll try next with a “post-install” (tbh, don’t really know about the stages of these options).