action #120016
closed[qe-core][leap] add repos in autoyast.xml file but not enable them
0%
Description
Description¶
When we install Leap 15.4 system via ISO image [interactive mode], the system has default repos and some of them are disabled.
# wait_serial expected: qr/JyP6T-\d+-/u
# Result:
share the same priority.
# | Alias | Name | Enabled | GPG Check | Refresh | URI
---+-----------------------------+---------------------------------------------------------------------------------------------+---------+-----------+---------+--------------------------------------------------------------------------------------------------
1 | openSUSE-Leap-15.4-1 | openSUSE-Leap-15.4-1 | No | ---- | ---- | cd:/?devices=/dev/disk/by-id/scsi-0QEMU_QEMU_CD-ROM_cd0
2 | repo-backports-debug-update | Update repository with updates for openSUSE Leap debuginfo packages from openSUSE Backports | No | ---- | ---- | http://download.opensuse.org/update/leap/15.4/backports_debug/
3 | repo-backports-update | Update repository of openSUSE Backports | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/backports/
4 | repo-debug | Debug Repository | No | ---- | ---- | http://download.opensuse.org/debug/distribution/leap/15.4/repo/oss/
5 | repo-debug-non-oss | Debug Repository (Non-OSS) | No | ---- | ---- | http://download.opensuse.org/debug/distribution/leap/15.4/repo/non-oss/
6 | repo-debug-update | Update Repository (Debug) | No | ---- | ---- | http://download.opensuse.org/debug/update/leap/15.4/oss/
7 | repo-debug-update-non-oss | Update Repository (Debug, Non-OSS) | No | ---- | ---- | http://download.opensuse.org/debug/update/leap/15.4/non-oss/
8 | repo-non-oss | Non-OSS Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.4/repo/non-oss/
9 | repo-oss | Main Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/distribution/leap/15.4/repo/oss/
10 | repo-sle-debug-update | Update repository with debuginfo for updates from SUSE Linux Enterprise 15 | No | ---- | ---- | http://download.opensuse.org/debug/update/leap/15.4/sle/
11 | repo-sle-update | Update repository with updates from SUSE Linux Enterprise 15 | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/sle/
12 | repo-source | Source Repository | No | ---- | ---- | http://download.opensuse.org/source/distribution/leap/15.4/repo/oss/
13 | repo-update | Main Update Repository | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/oss/
14 | repo-update-non-oss | Update Repository (Non-Oss) | Yes | (r ) Yes | Yes | http://download.opensuse.org/update/leap/15.4/non-oss/
But how can we do with autoyast?
I tried several methods but none of them can work, then I used a workaround to copy the repos from a installed system.
https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/15717/files#diff-27b244b534e566e234df1257300a5fd562bbca5f4905812cb4ed0f0d1d6af34e
I don't think it is a good way, but it can work for the time being.
Will check with experts to find a way to implement in autoyast.xml file.
Updated by rfan1 about 2 years ago
- Related to action #116006: [qe-core] Increase the coverage of test scenarios in Leap Maintainance - Prepare tests that are using interactive installer to use autoyast added
Updated by pdostal about 2 years ago
Updated by pdostal about 2 years ago
- Status changed from New to In Progress
- Assignee set to pdostal
Updated by rfan1 about 2 years ago
pdostal wrote:
https://suse.slack.com/archives/C02D1T4S58S/p1665741159321009
init scripts can only modify the file after os installation, but not able to disable them at the first stage
Updated by pdostal about 2 years ago
- Status changed from In Progress to Feedback
Updated by pdostal about 2 years ago
- Status changed from Feedback to Resolved
All seems to work. Resolving.