From c7ec0a42a5256790844d0356cef0eb90cdd951f3 Mon Sep 17 00:00:00 2001 From: Brian Cain Date: Tue, 24 Oct 2017 12:02:01 -0700 Subject: [PATCH] (#8941) Include WinSSH Communicator This commit requires the winssh communicator class wihtin the public_key capability for Windows. Prior to this commit users could run into a situation where Vagrant would check if the machine could speak in WinSSH and fail on an uninitialized constant. --- plugins/guests/windows/cap/public_key.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/guests/windows/cap/public_key.rb b/plugins/guests/windows/cap/public_key.rb index d62e385b6..4359625af 100644 --- a/plugins/guests/windows/cap/public_key.rb +++ b/plugins/guests/windows/cap/public_key.rb @@ -1,5 +1,7 @@ require "tempfile" +require_relative '../../../communicators/winssh/communicator' + module VagrantPlugins module GuestWindows module Cap