lib/fog/compute/models/slicehost/server.rb in fog-0.7.2 vs lib/fog/compute/models/slicehost/server.rb in fog-0.8.0
- old
+ new
@@ -21,10 +21,11 @@
attr_accessor :password
alias_method :'root-password=', :password=
attr_writer :private_key, :private_key_path, :public_key, :public_key_path, :username
def initialize(attributes={})
- self.flavor_id ||= 1
+ self.flavor_id ||= 1 # 256 server
+ self.image_id ||= 49 # Ubuntu 10.04 LTS 64bit
super
end
def destroy
requires :id