changed sh to bash

This commit is contained in:
Chris Beauchamp 2011-02-07 14:17:36 +00:00 committed by Mitchell Hashimoto
parent dc0b175838
commit 0abb70ee89
1 changed files with 1 additions and 1 deletions

View File

@ -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"