diff --git a/plugins/communicators/winrm/errors.rb b/plugins/communicators/winrm/errors.rb index ce3ab2066..2285d2115 100644 --- a/plugins/communicators/winrm/errors.rb +++ b/plugins/communicators/winrm/errors.rb @@ -21,6 +21,10 @@ module VagrantPlugins class WinRMNotReady < WinRMError error_key(:winrm_not_ready) end + + class WinRMFileTransferError < WinRMError + error_key(:winrm_file_transfer_error) + end end end end diff --git a/templates/locales/comm_winrm.yml b/templates/locales/comm_winrm.yml index f88e31b2e..0189547f9 100644 --- a/templates/locales/comm_winrm.yml +++ b/templates/locales/comm_winrm.yml @@ -20,3 +20,9 @@ en: The box is not able to report an address for WinRM to connect to yet. WinRM cannot access this Vagrant environment. Please wait for the Vagrant environment to be running and try again. + winrm_file_transfer_error: |- + Failed to transfer a file between the host and guest + + From: %{from} + To: %{to} + Message: %{message}