diff --git a/pkg/multicloud/openstack/image.go b/pkg/multicloud/openstack/image.go index 588313767e..08bb1a5a78 100644 --- a/pkg/multicloud/openstack/image.go +++ b/pkg/multicloud/openstack/image.go @@ -209,7 +209,10 @@ func (image *SImage) GetOsArch() string { } func (image *SImage) GetMinOsDiskSizeGb() int { - return image.MinDisk + if image.MinDisk > 0 { + return image.MinDisk + } + return 30 } func (image *SImage) GetImageFormat() string {