From 0abb70ee89cfd305b600cc1f375b3251394f2d38 Mon Sep 17 00:00:00 2001 From: Chris Beauchamp Date: Mon, 7 Feb 2011 14:17:36 +0000 Subject: [PATCH] changed sh to bash --- lib/vagrant/ssh/session.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/ssh/session.rb b/lib/vagrant/ssh/session.rb index 24474a6a8..311218b15 100644 --- a/lib/vagrant/ssh/session.rb +++ b/lib/vagrant/ssh/session.rb @@ -32,7 +32,7 @@ module Vagrant # of `sudo`. def sudo!(commands, options=nil, &block) channel = session.open_channel do |ch| - ch.exec("sudo sh -l") do |ch2, success| + ch.exec("sudo bash -l") do |ch2, success| # Output each command as if they were entered on the command line [commands].flatten.each do |command| ch2.send_data "#{command}\n"