File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
lisa/sut_orchestrator/libvirt Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -251,9 +251,16 @@ def install(self) -> str:
251251 packages_list = self ._distro_package_mapping [type (linux ).__name__ ]
252252 self ._log .info (f"installing packages: { packages_list } " )
253253 if isinstance (node .os , CBLMariner ):
254- linux .install_packages (
255- ["mariner-repos-preview.noarch" , "mariner-repos-extended" ]
256- )
254+ node_info = node .get_information ()
255+ distro = node_info .get ("distro_version" , "" )
256+ if distro == "Microsoft Azure Linux 3.0" :
257+ linux .install_packages (
258+ ["azurelinux-repos-preview.noarch" , "azurelinux-repos-extended" ]
259+ )
260+ else :
261+ linux .install_packages (
262+ ["mariner-repos-preview.noarch" , "mariner-repos-extended" ]
263+ )
257264 linux .install_packages (packages_list )
258265 username = node .tools [Whoami ].get_username ()
259266 node .tools [Usermod ].add_user_to_group (group = username , user = "qemu" , sudo = True )
You can’t perform that action at this time.
0 commit comments