Skip to content

Commit

Permalink
stop using the public IP address for SSH connections to VMware guests
Browse files Browse the repository at this point in the history
we've been setting `vmware.ssh_info_public = true` as an workaround to
what turned to be hashicorp/vagrant#10730.

we're now getting around this issue following the upstream suggested
way - disabling `IPQoS` on guest's sshd side.

Signed-off-by: António Meireles <antonio.meireles@reformi.st>
  • Loading branch information
AntonioMeireles committed Mar 24, 2019
1 parent e500712 commit 537cec0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Vagrantfile.template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
config.vm.provider(vmware_provider) do |vmware|
vmware.whitelist_verified = true
vmware.gui = !headless
# FIXME: only way to behave past 24950 ...
vmware.ssh_info_public = true

{
'cpuid.coresPerSocket' => '1',
Expand Down
4 changes: 4 additions & 0 deletions builders/template/etc/ssh/sshd_config
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ AuthorizedKeysFile %h/.ssh/authorized_keys
# 120s/60m
ClientAliveInterval 120
ClientAliveCountMax 30

# XXX: workaround for https://github.com/hashicorp/vagrant/issues/10730
# drop when fixed
IPQoS lowdelay throughput

0 comments on commit 537cec0

Please sign in to comment.