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

Allow to define custom IP resolver #15

Merged

Conversation

sevos
Copy link
Contributor

@sevos sevos commented Jun 6, 2013

This can be used in conjunction with vagrant-aws to set private IPs of
EC2 instances, for example:

config.hostmanager.ip_resolver = proc { |machine| machine.ssh_info && machine.ssh_info[:private_ip] }

This would be possible after merging mitchellh/vagrant-aws#82

@smdahlen
Copy link
Contributor

smdahlen commented Jun 7, 2013

Thanks for the PR, Artur. I will get a chance to look it over this weekend.
Could you update the README file to include instructions on how to use this
feature for users?

On Thu, Jun 6, 2013 at 4:00 PM, Artur Roszczyk [email protected]:

This can be used in conjunction with vagrant-aws to set private IPs of
EC2 instances, for example:

config.hostmanager.ip_resolver = proc { |machine| machine.ssh_info[:private_ip] }

This would be possible after merging mitchellh/vagrant-aws#82mitchellh/vagrant-aws#82

You can merge this Pull Request by running

git pull https://github.com/sevos/vagrant-hostmanager enable_using_private_ips_from_aws

Or view, comment on, or merge it at:

#15
Commit Summary

  • Allow to define custom IP resolver

File Changes

Patch Links:

Add description of custom IP resolver
@bdcribbs bdcribbs merged commit 7fd5cee into devopsgroup-io:master Nov 16, 2013
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.

None yet

3 participants