Skip to content

Commit

Permalink
add_azure_core_repo: use bionic when the repo doesn't exist for newer…
Browse files Browse the repository at this point in the history
… distro version
  • Loading branch information
LiliDeng committed Feb 12, 2025
1 parent dbb4005 commit 049325d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lisa/operating_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,8 @@ def add_azure_core_repo(
if not code_name:
code_name = self.information.codename
repo_url = "http://packages.microsoft.com/repos/azurecore/"
if code_name in ["noble", "oracular"]:
code_name = "bionic"
self.add_repository(
repo=(f"deb [arch={arch_name}] {repo_url} {code_name} main"),
keys_location=[
Expand Down

0 comments on commit 049325d

Please sign in to comment.