lib/kitchen/driver/vagrant_winrm.rb in kitchen-vagrant_winrm-0.2.2 vs lib/kitchen/driver/vagrant_winrm.rb in kitchen-vagrant_winrm-0.3.0

- old
+ new

@@ -108,11 +108,11 @@ end protected WEBSITE = 'http://downloads.vagrantup.com/' VAGRANT_MIN_VER = '1.6.0' - VAGRANT_WINRM_MIN_VER = '0.4.0' + VAGRANT_WINRM_MIN_VER = '0.5.0' def run_remote(cmd) return unless cmd debug("Executing winRM command #{cmd}") @@ -120,10 +120,10 @@ begin tmp << cmd tmp.close remote_script = run "vagrant winrm-upload -t '#{tmp.path}'" - run "vagrant winrm -c 'sh \"#{remote_script}\"'" + run "vagrant winrm -e -c 'sh \"#{remote_script}\"'" ensure tmp.close tmp.unlink end end