1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #975 from cmeiklejohn/fix_openstack_failure_with_reference

Specify image_ref rather than trying to instantiate object.
This commit is contained in:
Wesley Beary 2012-06-11 15:41:37 -07:00
commit 907ff6f8db

View file

@ -23,7 +23,7 @@ def compute_providers
:mocked => true, :mocked => true,
:server_attributes => { :server_attributes => {
:flavor_ref => 2, :flavor_ref => 2,
:image_ref => Fog::Compute[:openstack].images.first.id, :image_ref => "0e09fbd6-43c5-448a-83e9-0d3d05f9747e",
:name => "fog_#{Time.now.to_i}" :name => "fog_#{Time.now.to_i}"
} }
}, },