Skip to content

Commit eb82fef

Browse files
authored
Update README.md
1 parent d8a03b9 commit eb82fef

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,22 @@ Install the plugin following the typical Vagrant 1.1 procedure:
1616

1717
Usage
1818
-----
19-
To update the `/etc/hosts` file on each active machine, run the following
19+
To update the `hosts` file on each active machine, run the following
2020
command:
2121

2222
$ vagrant hostmanager
2323

2424
The plugin hooks into the `vagrant up` and `vagrant destroy` commands
2525
automatically.
2626
When a machine enters or exits the running state , all active
27-
machines with the same provider will have their `/etc/hosts` file updated
27+
machines with the same provider will have their `hosts` file updated
2828
accordingly. Set the `hostmanager.enabled` attribute to `true` in the
2929
Vagrantfile to activate this behavior.
3030

31-
To update the host's `/etc/hosts` file, set the `hostmanager.manage_host`
31+
To update the host's `hosts` file, set the `hostmanager.manage_host`
3232
attribute to `true`.
3333

34-
To update the guests' `/etc/hosts` file, set the `hostmanager.manage_guest`
34+
To update the guests' `hosts` file, set the `hostmanager.manage_guest`
3535
attribute to `true`.
3636

3737
A machine's IP address is defined by either the static IP for a private
@@ -90,14 +90,14 @@ config.vm.provision :hostmanager
9090
Custom IP resolver
9191
------------------
9292

93-
You can customize way, how host manager resolves IP address
94-
for each machine. This might be handy in case of aws provider,
95-
where host name is stored in ssh_info hash of each machine.
96-
This causes generation of invalid /etc/hosts file.
93+
You can customize how vagrant-hostmanager resolves IP address
94+
for each machine. This might be handy in the case of the AWS provider,
95+
where the host name is stored in the ssh_info hash of each machine.
96+
This causes a generation of an invalid `hosts` file.
9797

98-
Custom IP resolver gives you oportunity to calculate IP address
99-
for each machine by yourself, giving You also access to the machine that is
100-
updating /etc/hosts. For example:
98+
A custom IP resolver gives you the oportunity to calculate IP address
99+
for each machine by yourself, giving you access to the machine that is
100+
updating `hosts`. For example:
101101

102102
```ruby
103103
config.hostmanager.ip_resolver = proc do |vm, resolving_vm|

0 commit comments

Comments
 (0)