From 7705ad76c6a445d1ea7d1887f0ea561ac3b96aa8 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 12 Apr 2014 16:02:34 -0700 Subject: [PATCH] guests/windows: use the public_address cap --- plugins/guests/windows/cap/rdp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/guests/windows/cap/rdp.rb b/plugins/guests/windows/cap/rdp.rb index ae53f7b38..2c9c1e6d9 100644 --- a/plugins/guests/windows/cap/rdp.rb +++ b/plugins/guests/windows/cap/rdp.rb @@ -10,7 +10,7 @@ module VagrantPlugins end return { - host: ssh_info[:host], + host: machine.provider.capability(:public_address), username: username, } end