lib/fog/storm_on_demand/models/compute/server.rb in fog-1.6.0 vs lib/fog/storm_on_demand/models/compute/server.rb in fog-1.7.0
- old
+ new
@@ -24,11 +24,11 @@
attribute :template
attribute :template_description
attribute :zone
attribute :active
- attr_writer :password, :username
+ attr_writer :password
def initialize(attributes={})
super
end
@@ -49,13 +49,9 @@
def reboot
requires :identity
connection.reboot_server(:uniq_id => identity)
true
- end
-
- def username
- @username ||= 'root'
end
def clone(options)
requires :identity
connection.clone_server({:uniq_id => identity}.merge!(options))