Module: VagrantPlugins::VCloud::Cap::WinRM
- Defined in:
- lib/vagrant-vcloud/cap/winrm_info.rb
Class Method Summary collapse
-
.winrm_info(machine) ⇒ Hash<Integer, Integer>
Reads the WinRM forwarded port that currently exists on the machine itself.
Class Method Details
.winrm_info(machine) ⇒ Hash<Integer, Integer>
Reads the WinRM forwarded port that currently exists on the machine itself. This raises an exception if the machine isn’t running.
9 10 11 12 |
# File 'lib/vagrant-vcloud/cap/winrm_info.rb', line 9 def self.winrm_info(machine) env = machine.action('read_winrm_info') env[:machine_ssh_info] end |