distro/rhel86: add support for azure marketplace
Add support for building images for the Azure marketplace: add a new image type "azure-rhui" that can be used to build images tailored to the Azure marketplace. Add two sample manifests for 8.5 and 8.6, but note that even the 8.5 is using the 8.6 distro definitions. Also no image-info is included since `image-info` cannot (yet) handle LVM setups and the azure marketplace images use the LVM setup.
This commit is contained in:
parent
a26103312a
commit
f91d8c6292
15 changed files with 26505 additions and 77 deletions
|
|
@ -79,7 +79,7 @@ func (c *ComposerConfigFile) weldrDistrosImageTypeDenyList() map[string][]string
|
|||
|
||||
// GetDefaultConfig returns the default configuration of osbuild-composer
|
||||
// Defaults:
|
||||
// - 'ec2' and 'ec2-ha' image types on 'rhel-85' are not exposed via Weldr API
|
||||
// - 'azure-rhui', 'ec2', 'ec2-ha', 'ec2-sap' image types on 'rhel-85' are not exposed via Weldr API
|
||||
func GetDefaultConfig() *ComposerConfigFile {
|
||||
return &ComposerConfigFile{
|
||||
Koji: KojiAPIConfig{
|
||||
|
|
@ -102,6 +102,7 @@ func GetDefaultConfig() *ComposerConfigFile {
|
|||
map[string]WeldrDistroConfig{
|
||||
"rhel-*": {
|
||||
ImageTypeDenyList: []string{
|
||||
"azure-rhui",
|
||||
"ec2",
|
||||
"ec2-ha",
|
||||
"ec2-sap",
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ func TestDefaultConfig(t *testing.T) {
|
|||
DistroConfigs: map[string]WeldrDistroConfig{
|
||||
"rhel-*": {
|
||||
[]string{
|
||||
"azure-rhui",
|
||||
"ec2",
|
||||
"ec2-ha",
|
||||
"ec2-sap",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue