qtbi5a
Last Updated: February 25, 2016
·
6.909K
· aro

prevent stdin is not a tty error in vagrant

add the following line to prevent tty errors:

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

2 Responses
Add your response

15083

For the record, the command above works by placing it beneath the following line in your Vagrantfile:

Vagrant.configure(VAGRANTFILEAPIVERSION) do |config|

over 1 year ago ·
15084

be aware that this will break the vagrant-exec plugin.

over 1 year ago ·