Class: VagrantPlugins::VagrantHyperV::Command
- Inherits:
-
Object
- Object
- VagrantPlugins::VagrantHyperV::Command
- Defined in:
- lib/vagrant-windows-hyperv/command/rdp/command.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.synopsis ⇒ Object
9 10 11 |
# File 'lib/vagrant-windows-hyperv/command/rdp/command.rb', line 9 def self.synopsis "opens a RDP session for a vagrant machine" end |
Instance Method Details
#execute ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/vagrant-windows-hyperv/command/rdp/command.rb', line 13 def execute with_target_vms do |vm| vm.action(:rdp) end # Success, exit status 0 0 end |