provisioners/shell: check for winrm should be on machine config
This commit is contained in:
parent
58916f272d
commit
bec2cbbf4d
|
@ -15,7 +15,7 @@ module VagrantPlugins
|
|||
args = " #{args.join(" ")}"
|
||||
end
|
||||
|
||||
if @config.vm.communicator == :winrm
|
||||
if @machine.config.vm.communicator == :winrm
|
||||
provision_winrm(args)
|
||||
else
|
||||
provision_ssh(args)
|
||||
|
|
Loading…
Reference in New Issue