provisioners/shell: check for winrm should be on machine config

This commit is contained in:
Mitchell Hashimoto 2014-04-12 09:04:59 -07:00
parent 58916f272d
commit bec2cbbf4d
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module VagrantPlugins
args = " #{args.join(" ")}" args = " #{args.join(" ")}"
end end
if @config.vm.communicator == :winrm if @machine.config.vm.communicator == :winrm
provision_winrm(args) provision_winrm(args)
else else
provision_ssh(args) provision_ssh(args)