vagrant ssh accept utf8, fix #2744

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
Hiroshi Miura 2014-01-09 09:53:35 +09:00
parent b52d60d178
commit a7cc402258
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ module VagrantPlugins
end
# Output the command
ch2.send_data "#{command}\n"
ch2.send_data "#{command}\n".force_encoding('ASCII-8BIT')
# Remember to exit or this channel will hang open
ch2.send_data "exit\n"