Skip to content

Commit

Permalink
Workaround for git bash not allocating a tty
Browse files Browse the repository at this point in the history
  • Loading branch information
richardebeling committed Nov 20, 2023
1 parent 274714a commit 45b18d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Vagrant.configure("2") do |config|
end
end

if Vagrant::Util::Platform.windows? then
# workaround for git bash not automatically allocating a tty on windows in some scenarios
# see https://github.com/hashicorp/vagrant/issues/9143#issuecomment-401088752
config.ssh.extra_args = "-tt"
end

config.vm.provider :docker do |d, override|
d.image = "ubuntu:jammy"
# Docker container really are supposed to be used differently. Hacky way to make it into a "VM".
Expand Down

0 comments on commit 45b18d6

Please sign in to comment.