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(" ")}"
|
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)
|
||||||
|
|
Loading…
Reference in New Issue