Skip to content

Commit

Permalink
SL Micro 6.0 tools for SUSE Manager
Browse files Browse the repository at this point in the history
  • Loading branch information
Bischoff committed Aug 14, 2024
1 parent 348d348 commit e774c4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
9 changes: 9 additions & 0 deletions backend_modules/libvirt/host/combustion
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,16 @@ zypper ar http://${ use_mirror_images ? mirror : "download.opensuse.org" }/updat

%{ if image == "slmicro60o" }
zypper ar http://${ use_mirror_images ? mirror : "download.suse.de/ibs"}/SUSE/Products/SL-Micro/6.0/x86_64/product/ os_pool_repo

# SL Micro 6.0 is being used in both Uyuni and SUSE Manager
# we do not support yet Leap Micro 6.0, even in Uyuni
%{ if is_uyuni }
zypper ar http://${ use_mirror_images ? mirror : "download.opensuse.org"}/repositories/systemsmanagement:/Uyuni:/Master:/SLMicro6-Uyuni-Client-Tools/SL-Micro6/ client_tools_repo
%{ else }
zypper ar http://${ use_mirror_images ? mirror : "download.suse.de/ibs"}/SUSE/Products/SLE-Manager-Tools/15/x86_64/product/ tools_pool_repo
zypper ar http://${ use_mirror_images ? mirror : "download.suse.de/ibs"}/SUSE/Updates/SLE-Manager-Tools/15/x86_64/update/ tools_update_repo
%{ endif }

%{ if testsuite }
zypper ar http://${ use_mirror_images ? mirror : "download.opensuse.org" }/repositories/systemsmanagement:/Uyuni:/Test-Packages:/Pool/rpm/ test_repo_rpm_pool
%{ endif }
Expand Down
1 change: 1 addition & 0 deletions backend_modules/libvirt/host/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ data "template_file" "combustion" {
additional_repos = join(" ", [for key, value in var.additional_repos : "${key}=${value}"])
image = var.image
product_version = local.product_version
is_uyuni = length(regexall("uyuni", local.product_version)) > 0
}
}

Expand Down

0 comments on commit e774c4a

Please sign in to comment.