Class: VagrantPlugins::WinAzure::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-azure/command/rdp/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.synopsisObject



8
9
10
# File 'lib/vagrant-azure/command/rdp/command.rb', line 8

def self.synopsis
  'Opens an RDP session for a vagrant machine'
end

Instance Method Details

#executeObject



12
13
14
15
16
17
18
# File 'lib/vagrant-azure/command/rdp/command.rb', line 12

def execute
  with_target_vms do |vm|
    vm.action(:rdp)
  end

  0
end