*Participation Requested*
MicroOS Desktop Use to Help with ALP Feedback
-
15.3 unattended autoyast installation using local mirror only
Hi,
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?
Thanks in advance
-
Re: 15.3 unattended autoyast installation using local mirror only
Does your local repo contain those repos. 15.3 repos are an od mix of openSUSE and SLE
-
Re: 15.3 unattended autoyast installation using local mirror only
 Originally Posted by kgh33
Even when I have them in the autoyast .xml file
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.
-
Re: 15.3 unattended autoyast installation using local mirror only
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:
repo-backports-update.repo_1
repo-sle-update.repo_1
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?
thanks.
-
Re: 15.3 unattended autoyast installation using local mirror only
 Originally Posted by kgh33
After reboot and before finishing the installation, those files will be renamed to:
repo-backports-update.repo_1
repo-sle-update.repo_1
and two new files, with the original names, will be there pointing to the download.opensuse.org repos.
Post full output of "ls -l /etc/zypp/repos.d".
About the autoyast.xml, should I paste the text here?
Upload to https://susepaste.org/
-
Re: 15.3 unattended autoyast installation using local mirror only
Hi arvidjaar,
here is the ls:
-rw-r--r-- 1 root root 170 Nov 1 12:14 openSUSE-Leap-15.3-1_1.repo
-rw-r--r-- 1 root root 180 Nov 1 12:14 openSUSE-Leap-15.3-1.repo
-rw-r--r-- 1 root root 179 Nov 1 12:14 repo-backports-update.repo
-rw-r--r-- 1 root root 199 Nov 2 12:47 repo-backports-update.repo_1
-rw-r--r-- 1 root root 168 Nov 1 12:14 repo-non-oss.repo
-rw-r--r-- 1 root root 234 Sep 27 17:40 repo-sle-debug-update.repo
-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
-rw-r--r-- 1 root root 171 Nov 1 12:14 repo-update-non-oss.repo
-rw-r--r-- 1 root root 151 Nov 1 12:14 repo-update.repo
and here is the autoyast.xml:
https://susepaste.org/a3a0bdee
thanks
-
Re: 15.3 unattended autoyast installation using local mirror only
 Originally Posted by kgh33
here is the ls:
Please in the future use tags [code]...[/code] around computer output.
Code:
-rw-r--r-- 1 root root 170 Nov 1 12:14 openSUSE-Leap-15.3-1_1.repo
-rw-r--r-- 1 root root 180 Nov 1 12:14 openSUSE-Leap-15.3-1.repo
I bet they have identical content. One added by installer and another comes from your autoyast.xml.
Code:
-rw-r--r-- 1 root root 179 Nov 1 12:14 repo-backports-update.repo
-rw-r--r-- 1 root root 199 Nov 2 12:47 repo-backports-update.repo_1
-rw-r--r-- 1 root root 168 Nov 1 12:14 repo-non-oss.repo
-rw-r--r-- 1 root root 234 Sep 27 17:40 repo-sle-debug-update.repo
I wonder why repo-backports-debug-update.repo is missing.
Code:
-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.
-
Re: 15.3 unattended autoyast installation using local mirror only
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).
-
Re: 15.3 unattended autoyast installation using local mirror only
 Originally Posted by kgh33
I just tried with a "chroot" script (to create new sle/backports repo files) and didn't work.
I did not say "create repo files". I said "delete repo files installed by updated openSUSE-release package".
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|