Remove current communicator name from error text

This commit is contained in:
Chris Roberts 2018-10-08 14:30:11 -07:00
parent 3181b5c1f9
commit 49a9ae4bd9
2 changed files with 2 additions and 4 deletions

View File

@ -41,8 +41,7 @@ module VagrantPlugins
with_target_vms(argv, single_target: true) do |machine| with_target_vms(argv, single_target: true) do |machine|
if machine.config.vm.communicator != :winrm if machine.config.vm.communicator != :winrm
raise Vagrant::Errors::WinRMInvalidCommunicator, raise Vagrant::Errors::WinRMInvalidCommunicator
communicator: machine.config.vm.communicator
end end
opts = { opts = {

View File

@ -1707,8 +1707,7 @@ en:
to start the virtual machine. to start the virtual machine.
winrm_invalid_communicator: |- winrm_invalid_communicator: |-
The winrm command requires a WinRM communicator to be used when connecting The winrm command requires a WinRM communicator to be used when connecting
to the guest. The guest is currently using a %{communicator} communicator. to the guest. Please update your configuration and try the command again.
Please update your configuration and try the command again.
wsl_vagrant_version_mismatch: |- wsl_vagrant_version_mismatch: |-
Vagrant cannot currently enable access to manage machines within the Windows Vagrant cannot currently enable access to manage machines within the Windows
environment because the version of Vagrant installed on Windows does not environment because the version of Vagrant installed on Windows does not