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

Host os hosts file #17

Closed
wants to merge 6 commits into from

Conversation

b2jrock
Copy link
Contributor

@b2jrock b2jrock commented Jun 13, 2013

This set of changes was made to manage hosts file entries on the host machine. This is so that you can use the hostnames to connect to your local boxes.

As part of this, I changed it so that we actually fetch the existing hosts file from the guest machines and add to it rather than overwriting.

Keywords added: hostmanager.manage_local = true
Manage local hosts file

Caveats:

  • Assumes that you need sudo to modify your local /etc/hosts file, I am planning on making this a configuration parameter in the near future.
  • It's assuming your hosts file is /etc/hosts, so it won't work with windows.

@b2jrock b2jrock closed this Jun 13, 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

2 participants