Skip to content

fix: Vagrant syntax about private_network #420

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

Closed
wants to merge 1 commit into from

Conversation

tongtie
Copy link

@tongtie tongtie commented Sep 13, 2021

  • OS: macOS 10.15.6
  • vagrant: 2.2.18
  • virtualbox: 6.1

I could not log in via plain ssh before, as shown below

image

After modifying the vagrantfile, I can log in with plain ssh

image

@geerlingguy
Copy link
Owner

Thanks! Seems like an odd one, maybe conflicts with something in particular instances, but not always, because the old syntax was working for me.

But I found that this is indeed the syntax used in Vagrant's docs nowadays — see https://developer.hashicorp.com/vagrant/docs/networking/private_network

I couldn't get the conflicts to resolve, but I did a search and replace for all instances of :private_network, and replaced them with "private_network",, which seems like it should work fine.

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.

2 participants