Skip to content

Commit

Permalink
Initialize package before adding repo for SUSE image to avoid system …
Browse files Browse the repository at this point in the history
…locked
  • Loading branch information
lubaihua33 authored and LiliDeng committed Apr 29, 2024
1 parent 40425aa commit e542b7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lisa/operating_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -1988,6 +1988,7 @@ def add_repository(
repo_name: Optional[str] = None,
keys_location: Optional[List[str]] = None,
) -> None:
self._initialize_package_installation()
cmd = "zypper ar"
if no_gpgcheck:
cmd += " -G "
Expand Down

0 comments on commit e542b7f

Please sign in to comment.