mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
37 lines
913 B
Ruby
37 lines
913 B
Ruby
|
def compute_providers
|
||
|
{
|
||
|
AWS => {
|
||
|
:server_attributes => {
|
||
|
:image_id => 'ami-1a837773' # image ami-1a837773 = Ubuntu
|
||
|
},
|
||
|
:mocked => true
|
||
|
},
|
||
|
Bluebox => {
|
||
|
:server_attributes => {
|
||
|
:image_id => 'a00baa8f-b5d0-4815-8238-b471c4c4bf72' # Ubuntu 9.10 64bit
|
||
|
},
|
||
|
:mocked => false
|
||
|
},
|
||
|
Brightbox => {
|
||
|
:server_attributes => {
|
||
|
:image_id => 'img-9vxqi' # image img-9vxqi = Ubuntu Maverick 10.10 server
|
||
|
},
|
||
|
:mocked => false
|
||
|
},
|
||
|
Rackspace => {
|
||
|
:server_attributes => {
|
||
|
:image_id => 49, # image 49 = Ubuntu 10.04 LTS (lucid)
|
||
|
:name => "fog_#{Time.now.to_i}"
|
||
|
},
|
||
|
:mocked => true
|
||
|
},
|
||
|
Slicehost => {
|
||
|
:server_attributes => {
|
||
|
:image_id => 49, # image 49 = Ubuntu 10.04 LTS (lucid)
|
||
|
:name => "fog_#{Time.now.to_i}"
|
||
|
},
|
||
|
:mocked => false
|
||
|
}
|
||
|
}
|
||
|
end
|