lib/fog/digitalocean/models/compute/server.rb in fog-1.35.0 vs lib/fog/digitalocean/models/compute/server.rb in fog-1.36.0
- old
+ new
@@ -79,10 +79,9 @@
service.power_on_server self.id
end
def setup(credentials = {})
requires :ssh_ip_address
- require 'net/ssh'
commands = [
%{mkdir .ssh},
%{passwd -l #{username}},
%{echo "#{Fog::JSON.encode(Fog::JSON.sanitize(attributes))}" >> ~/attributes.json}