mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
F #~: avoid template creation with template -1 (#1055)
Signed-off-by: Carlos Herrera <cherrera@opennebula.io>
This commit is contained in:
parent
5b6ab8d940
commit
20849798a4
@ -206,7 +206,8 @@ module OpenNebula::MarketPlaceAppExt
|
||||
#---------------------------------------------------------------
|
||||
# Created an associated VMTemplate if needed
|
||||
#---------------------------------------------------------------
|
||||
if self['TEMPLATE/VMTEMPLATE64'].nil? || options[:notemplate]
|
||||
if self['TEMPLATE/VMTEMPLATE64'].nil? || options[:notemplate] ||
|
||||
options[:template] == -1
|
||||
return rc_info
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user