Project

General

Profile

action #120016

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

Added by rfan1 3 months ago. Updated 2 months 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

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 autoyastResolved2022-08-30

History

#1 Updated by rfan1 3 months 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

#4 Updated by pdostal 3 months ago

  • Status changed from New to In Progress
  • Assignee set to pdostal

#5 Updated by rfan1 3 months 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

#7 Updated by pdostal 2 months ago

  • Status changed from Feedback to Resolved

All seems to work. Resolving.

Also available in: Atom PDF