diff --git a/plugins/provisioners/shell/provisioner.rb b/plugins/provisioners/shell/provisioner.rb index 109826cf4..90c60357a 100644 --- a/plugins/provisioners/shell/provisioner.rb +++ b/plugins/provisioners/shell/provisioner.rb @@ -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)