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

Plugin should autocorrect the winrm port if the default 5985 is not available #149

Closed
sneal opened this issue Dec 7, 2013 · 7 comments
Closed

Comments

@sneal
Copy link
Member

sneal commented Dec 7, 2013

Having to manually select a free port on the host wastes time. This should work like core vagrant does WRT to the SSH port.

@ferventcoder
Copy link
Contributor

I thought this issue was already logged last week

@sneal
Copy link
Member Author

sneal commented Dec 7, 2013

Maybe you were thinking of this comment?

@ferventcoder
Copy link
Contributor

Unfortunately that wasn't it. I +1'd it. It must have been on another repository but I was thinking it was here. It was just a comment somewhere near the bottom of a different issue. No worries... :)

@ferventcoder
Copy link
Contributor

Found it - #139 (comment)

@sneal
Copy link
Member Author

sneal commented Dec 12, 2013

We should be using this in our Vagrantfiles

config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true

The autocorrect piece is already supported in vagrant-windows - I just misunderstood how it worked.

@sneal sneal closed this as completed Dec 12, 2013
@ferventcoder
Copy link
Contributor

Wat?! NICE

@ferventcoder
Copy link
Contributor

I wonder why that isn't the default (auto_correct: true)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants