distro/rhel8: add azure EAP 7 image type
Initialise the image type as an Azure RHUI type with the name "azure-eap7-rhui" and a workload attached that provides the extra packages required by the EAP workload.
This commit is contained in:
parent
5b4e77797c
commit
636f3ff237
3 changed files with 13 additions and 0 deletions
|
|
@ -93,6 +93,14 @@ func azureImgType() imageType {
|
|||
}
|
||||
}
|
||||
|
||||
func azureEap7RhuiImgType() imageType {
|
||||
it := azureRhuiImgType()
|
||||
it.name = "azure-eap7-rhui"
|
||||
it.nameAliases = nil // make sure we don't inherit aliases from the base image type
|
||||
it.workload = eapWorkload()
|
||||
return it
|
||||
}
|
||||
|
||||
// PACKAGE SETS
|
||||
|
||||
// Common Azure image package set
|
||||
|
|
|
|||
|
|
@ -437,6 +437,9 @@ func newDistro(name string, minor int) *distribution {
|
|||
edgeSimplifiedInstallerImgType(rd),
|
||||
)
|
||||
|
||||
azureEap := azureEap7RhuiImgType()
|
||||
x86_64.addImageTypes(azureX64Platform, azureEap)
|
||||
|
||||
aarch64.addImageTypes(
|
||||
rawAarch64Platform,
|
||||
edgeRawImgType(),
|
||||
|
|
|
|||
|
|
@ -300,6 +300,7 @@ func TestImageType_Name(t *testing.T) {
|
|||
"vhd",
|
||||
"azure-rhui",
|
||||
"azure-sap-rhui",
|
||||
"azure-eap7-rhui",
|
||||
"vmdk",
|
||||
"ami",
|
||||
"ec2",
|
||||
|
|
@ -492,6 +493,7 @@ func TestArchitecture_ListImageTypes(t *testing.T) {
|
|||
"vhd",
|
||||
"azure-rhui",
|
||||
"azure-sap-rhui",
|
||||
"azure-eap7-rhui",
|
||||
"vmdk",
|
||||
"ami",
|
||||
"ec2",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue