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

[google|compute] Change default image to most recent version of wheezy.

This commit is contained in:
Nat Welch 2013-06-04 15:08:02 -07:00
parent eaaabf9f62
commit 0a9ee7db01
2 changed files with 2 additions and 3 deletions

View file

@ -66,8 +66,6 @@ module Fog
attr_reader :project
def initialize(options)
base_url = 'https://www.googleapis.com/compute/'
api_version = 'v1beta15'
api_scope_url = 'https://www.googleapis.com/auth/compute'

View file

@ -44,7 +44,7 @@ module Fog
def bootstrap(new_attributes = {})
defaults = {
:name => "fog-#{Time.now.to_i}",
:image_name => "gcel-12-04-v20130225",
:image_name => "debian-7-wheezy-v20130522",
:machine_type => "n1-standard-1",
:zone_name => "us-central1-a",
:private_key_path => File.expand_path("~/.ssh/id_rsa"),
@ -53,6 +53,7 @@ module Fog
server = create(defaults.merge(new_attributes))
server.wait_for(Fog.timeout, 30) { ready? }
server
end
end