diff --git a/src/oca/ruby/opennebula/marketplaceapp_ext.rb b/src/oca/ruby/opennebula/marketplaceapp_ext.rb index 6db476e8ec..1f7be9a146 100644 --- a/src/oca/ruby/opennebula/marketplaceapp_ext.rb +++ b/src/oca/ruby/opennebula/marketplaceapp_ext.rb @@ -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