Resolve Vagrant issue 1673

When using the shell or puppet provisionier with Ubuntu there is
always an error message 'stdin: is not a tty'. According to the
bugreport https://github.com/mitchellh/vagrant/issues/1673
using 'bash -c 'BASH_ENV=/etc/profile exec bash'' as shell solves
this issue.

Change-Id: I4aa8b51545f881e548830f91d5b5c543bd6ef613
This commit is contained in:
Christian Berendt
2014-08-07 11:04:37 +02:00
parent 14d1bc632c
commit f49d0752bb

4
Vagrantfile vendored
View File

@@ -89,6 +89,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.cache.scope = :box
end
# NOTE(berendt): This solves the Ubuntu-specific Vagrant issue 1673.
# https://github.com/mitchellh/vagrant/issues/1673
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
config.vm.define "manager" do |manager|
configure_vm("manager", manager.vm, conf)
end