Try this:

A.
config.ssh.shell = "bash -l"

B.
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"

And see if those helps.

Thanks
alvaro.

On Thu, Nov 26, 2015 at 10:02 AM, Andy Hoho <[email protected]> wrote:
> Thank you Alvaro. My Vagrant and Virtual Box are fine because I have been
> using other vagrant boxes without issues.
> It is something to do with tty - SSH requires tty by default. But I don't
> know how to tell Vagrant not to use tty for SSH. Any idea?
>
> On Wednesday, November 25, 2015 at 12:30:25 AM UTC-5, Alvaro Miranda
> Aguilera wrote:
>>
>> Hello,
>>
>> The first thing is to check if your installation is healthy.
>>
>> mkdir precise64
>> cd precise64
>> vagrant init -m hashicorp/precise64
>> vagrant up
>>
>> If that works, then your Vagrant + Virtualbox installation is fine,
>> and we can think the project you are trying to use has some
>> requirements or issues.
>>
>> can you test that?
>>
>> Alvaro.
>>
>> On Wed, Nov 25, 2015 at 3:45 AM, Andy Hoho <[email protected]> wrote:
>> > Hi, I am encountering SSH error when doing Vagrant up. See the
>> > instructions
>> > here: https://github.com/dnafrance/vagrant-hadoop-spark-cluster
>> >
>> > Error log:>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
>> >
>> >
>> > /HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.7.4/lib/vagrant/batch_action.rb:82:in
>> > `block (2 levels) in run'
>> >  INFO interface: error: The SSH command responded with a non-zero exit
>> > status. Vagrant
>> > assumes that this means the command failed. The output for this command
>> > should be in the log above. Please read the output to determine what
>> > went wrong.
>> > The SSH command responded with a non-zero exit status. Vagrant
>> > assumes that this means the command failed. The output for this command
>> > should be in the log above. Please read the output to determine what
>> > went wrong.
>> >
>> > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>> >
>> > How do I fix this problem? Thanks a lot!!!
>> >
>> > --
>> > This mailing list is governed under the HashiCorp Community Guidelines -
>> > https://www.hashicorp.com/community-guidelines.html. Behavior in
>> > violation
>> > of those guidelines may result in your removal from this mailing list.
>> >
>> > GitHub Issues: https://github.com/mitchellh/vagrant/issues
>> > IRC: #vagrant on Freenode
>> > ---
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Vagrant" group.
>> > To unsubscribe from this group and stop receiving emails from it, send
>> > an
>> > email to [email protected].
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/vagrant-up/44b445ad-4369-49fc-b312-bf8a478633a6%40googlegroups.com.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in violation
> of those guidelines may result in your removal from this mailing list.
>
> GitHub Issues: https://github.com/mitchellh/vagrant/issues
> IRC: #vagrant on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/vagrant-up/fa43cb84-9463-4244-8cb4-e4a4f5626daa%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0ex-CMP_WZxKu4QrS%2B1%2BPcBuHm9ssn%3Dsi5feJ-rBvmAoqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to