diff --git a/lib/chef/provisioning/convergence_strategy/install_sh.rb b/lib/chef/provisioning/convergence_strategy/install_sh.rb index fcfef20c..bbe585ec 100644 --- a/lib/chef/provisioning/convergence_strategy/install_sh.rb +++ b/lib/chef/provisioning/convergence_strategy/install_sh.rb @@ -44,7 +44,7 @@ def setup_convergence(action_handler, machine) install_command = Mixlib::Install.new(chef_version, false, opts).install_command machine.write_file(action_handler, install_sh_path, install_command, :ensure_dir => true) machine.set_attributes(action_handler, install_sh_path, :mode => '0755') - machine.execute(action_handler, "sh -c #{install_sh_path}") + machine.execute(action_handler, "sh #{install_sh_path}") end def converge(action_handler, machine)