class Vpsb::Resources::DoDropletSshKey

Public Instance Methods

call(core) click to toggle source
# File lib/vpsb/resources/do_droplet_ssh_key.rb, line 8
def call(core)
  puts "Loading list of available ssh keys"
  in_dir(core.get(:server_app_path), 'knife digital_ocean sshkey list')
  ask_loop { puts 'Which ssh key? Enter its id' }
end