Project

General

Profile

Actions

action #120016

closed

[qe-core][leap] add repos in autoyast.xml file but not enable them

Added by rfan1 over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2022-11-07
Due date:
% Done:

0%

Estimated time:
Difficulty:

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.


Related issues 1 (0 open1 closed)

Related to openQA Tests - action #116006: [qe-core] Increase the coverage of test scenarios in Leap Maintainance - Prepare tests that are using interactive installer to use autoyastResolvedrfan12022-08-30

Actions
Actions

Also available in: Atom PDF