lib/vagrant-winrm/commands/winrm_config.rb in vagrant-winrm-0.6.0 vs lib/vagrant-winrm/commands/winrm_config.rb in vagrant-winrm-0.7.0

- old
+ new

@@ -32,10 +32,11 @@ variables = { host_key: options[:host] || machine.name || 'vagrant', winrm_host: VagrantPlugins::CommunicatorWinRM::Helper.winrm_info(machine)[:host], winrm_port: VagrantPlugins::CommunicatorWinRM::Helper.winrm_info(machine)[:port], winrm_user: machine.config.winrm.username, - winrm_password: machine.config.winrm.password + winrm_password: machine.config.winrm.password, + rdp_port: machine.config.rdp.port } # Render the template and output directly to STDOUT template = "#{VagrantPlugins::VagrantWinRM.source_root}/templates/winrm_config/config" safe_puts(Vagrant::Util::TemplateRenderer.render(template, variables))