lib/fog/digitalocean/models/compute/server.rb in fog-1.27.0 vs lib/fog/digitalocean/models/compute/server.rb in fog-1.28.0

- old
+ new

@@ -10,12 +10,10 @@ attribute :name attribute :state, :aliases => 'status' attribute :image_id attribute :region_id attribute :flavor_id, :aliases => 'size_id' - # Not documented in their API, but - # available nevertheless attribute :public_ip_address, :aliases => 'ip_address' attribute :private_ip_address attribute :private_networking attribute :backups_active, :aliases => 'backups_enabled' attribute :created_at @@ -92,10 +90,10 @@ ] if public_key commands << %{echo "#{public_key}" >> ~/.ssh/authorized_keys} end - # wait for aws to be ready + # wait for DigitalOcean to be ready wait_for { sshable?(credentials) } Fog::SSH.new(ssh_ip_address, username, credentials).run(commands) end