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'"
Written by Achim Rosenhagen
Related protips
2 Responses
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
·
be aware that this will break the vagrant-exec plugin.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vagrant
Authors
Related Tags
#vagrant
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#