mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Use proper parameters when testing deploying cloudstact VMs.
This commit is contained in:
parent
0791366a1b
commit
ed79237cde
2 changed files with 5 additions and 2 deletions
|
@ -32,8 +32,8 @@ def compute_providers
|
|||
:cloudstack_host => 'http://host.foo'
|
||||
},
|
||||
:server_attributes => {}.tap do |hash|
|
||||
[:zone_id, :network_ids, :image_id, :flavor_id].each do |k|
|
||||
hash[k]= Fog.credentials[:cloudstack] && Fog.credentials[:cloudstack][k]
|
||||
[:zone_id, :network_ids, :template_id, :service_offering_id].each do |k|
|
||||
hash[k]= Fog.credentials["cloudstack_#{k}".to_sym]
|
||||
end
|
||||
end,
|
||||
:volume_attributes => {:name => "somevolume"}.tap do |hash|
|
||||
|
|
|
@ -16,6 +16,9 @@ if Fog.mock?
|
|||
:brightbox_client_id => 'brightbox_client_id',
|
||||
:brightbox_secret => 'brightbox_secret',
|
||||
:cloudstack_host => 'http://cloudstack.example.org',
|
||||
:cloudstack_service_offering_id => '4437ac6c-9fe3-477a-57ec-60a5a45896a4',
|
||||
:cloudstack_template_id => '8a31cf9c-f248-0588-256e-9dbf58785216',
|
||||
:cloudstack_zone_id => 'c554c592-e09c-9df5-7688-4a32754a4305',
|
||||
:clodo_api_key => 'clodo_api_key',
|
||||
:clodo_username => 'clodo_username',
|
||||
:dnsimple_email => 'dnsimple_email',
|
||||
|
|
Loading…
Add table
Reference in a new issue