lib/fog/google/models/compute/servers.rb in fog-1.18.0 vs lib/fog/google/models/compute/servers.rb in fog-1.19.0

- old
+ new

@@ -45,16 +45,17 @@ end def bootstrap(new_attributes = {}) defaults = { :name => "fog-#{Time.now.to_i}", - :image_name => "debian-7-wheezy-v20130816", + :image_name => "debian-7-wheezy-v20131014", :machine_type => "n1-standard-1", :zone_name => "us-central1-b", :private_key_path => File.expand_path("~/.ssh/id_rsa"), :public_key_path => File.expand_path("~/.ssh/id_rsa.pub"), :username => ENV['USER'], } + if new_attributes[:disks] new_attributes[:disks].each do |disk| defaults.delete :image_name if disk['boot'] end end