cloudapi: enable azure-eap7-rhui image type
This commit is contained in:
parent
90cc2b18a8
commit
2a87a8b7f3
3 changed files with 130 additions and 123 deletions
|
|
@ -585,6 +585,8 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
|
|||
fallthrough
|
||||
case ImageTypesAzureRhui:
|
||||
fallthrough
|
||||
case ImageTypesAzureEap7Rhui:
|
||||
fallthrough
|
||||
case ImageTypesAzureSapRhui:
|
||||
var azureUploadOptions AzureUploadOptions
|
||||
jsonUploadOptions, err := json.Marshal(*ir.UploadOptions)
|
||||
|
|
@ -675,6 +677,8 @@ func imageTypeFromApiImageType(it ImageTypes, arch distro.Arch) string {
|
|||
return "vhd"
|
||||
case ImageTypesAzureRhui:
|
||||
return "azure-rhui"
|
||||
case ImageTypesAzureEap7Rhui:
|
||||
return "azure-eap7-rhui"
|
||||
case ImageTypesAzureSapRhui:
|
||||
return "azure-sap-rhui"
|
||||
case ImageTypesGuestImage:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue