mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[vcloud|compute] server creation outside of VDC
This commit is contained in:
parent
a384c21cdd
commit
80f41b766b
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,6 @@ module Fog
|
|||
attribute :href, :aliases => :Href
|
||||
|
||||
def all
|
||||
self.href = connection.default_vdc_href unless self.href
|
||||
check_href!(:parent => "Vdc")
|
||||
load(_vapps)
|
||||
end
|
||||
|
@ -27,6 +26,7 @@ module Fog
|
|||
end
|
||||
|
||||
def create( catalog_item_uri, options )
|
||||
check_href!
|
||||
options[:vdc_uri] = href
|
||||
data = connection.instantiate_vapp_template( catalog_item_uri, options ).body
|
||||
object = new(data)
|
||||
|
|
Loading…
Reference in a new issue