зеркало из https://github.com/microsoft/lisa.git
create AlmaLinux class
This commit is contained in:
Родитель
16d100a9cd
Коммит
9c6ecbf26a
|
@ -1346,7 +1346,7 @@ class Redhat(Fedora):
|
|||
|
||||
@classmethod
|
||||
def name_pattern(cls) -> Pattern[str]:
|
||||
return re.compile("^rhel|Red|AlmaLinux|Rocky|Scientific|acronis|Actifio$")
|
||||
return re.compile("^rhel|Red|Rocky|Scientific|acronis|Actifio$")
|
||||
|
||||
def replace_boot_kernel(self, kernel_version: str) -> None:
|
||||
# Redhat kernel is replaced when installing RPM. For source code
|
||||
|
@ -1493,6 +1493,12 @@ class Oracle(Redhat):
|
|||
return re.compile("^Oracle")
|
||||
|
||||
|
||||
class AlmaLinux(Redhat):
|
||||
@classmethod
|
||||
def name_pattern(cls) -> Pattern[str]:
|
||||
return re.compile("^AlmaLinux")
|
||||
|
||||
|
||||
class CBLMariner(RPMDistro):
|
||||
@classmethod
|
||||
def name_pattern(cls) -> Pattern[str]:
|
||||
|
|
Загрузка…
Ссылка в новой задаче