Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: SSH Proxy command with Docker is only used when the host VM is enabled #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dduportal
Copy link

@dduportal dduportal commented Jun 5, 2021

Hello @vvchik , thanks for your work on this plugin!

This PR allows the plugin to be used when using Vagrant with the Docker provider and no VM implied, but the Docker Engine directly.

My use case is https://github.com/jenkins-infra/jenkins-infra: I want to allow the Vagrant VM used for Puppet's manifest validation to be run without requiring Virtualbox but only a Docker Engine.

When doing so, the provisioning with the serverspec provider fails with an error related to an empty host/port in the method use_jump_provider because there are no intermediate host VM: I'm using a direct container with SSH server in the container.

So here is a proposed changed, that use the attribute force_host_vm which value is set to false by default on almost all platforms: hashicorp/vagrant#8437.

…nabled

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant