You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`vagrant-hostmanager` is a plugin that manages the `hosts` file on guest machines (and optionally the host). Its goal is to enable resolution of multi-machine environments deployed with a cloud provider where IP addresses are not known in advance.
9
+
`vagrant-hostmanager` is a plugin that manages the `/etc/hosts` file on guest machines (and optionally the host). Its goal is to enable resolution of multi-machine environments deployed with a cloud provider where IP addresses are not known in advance.
10
10
11
11
Installation
12
12
------------
@@ -16,22 +16,22 @@ Install the plugin following the typical Vagrant 1.1 procedure:
16
16
17
17
Usage
18
18
-----
19
-
To update the `hosts` file on each active machine, run the following
19
+
To update the `/etc/hosts` file on each active machine, run the following
20
20
command:
21
21
22
22
$ vagrant hostmanager
23
23
24
24
The plugin hooks into the `vagrant up` and `vagrant destroy` commands
25
25
automatically.
26
26
When a machine enters or exits the running state , all active
27
-
machines with the same provider will have their `hosts` file updated
27
+
machines with the same provider will have their `/etc/hosts` file updated
28
28
accordingly. Set the `hostmanager.enabled` attribute to `true` in the
29
29
Vagrantfile to activate this behavior.
30
30
31
-
To update the host's `hosts` file, set the `hostmanager.manage_host`
31
+
To update the host's `/etc/hosts` file, set the `hostmanager.manage_host`
32
32
attribute to `true`.
33
33
34
-
To update the guests' `hosts` file, set the `hostmanager.manage_guest`
34
+
To update the guests' `/etc/hosts` file, set the `hostmanager.manage_guest`
35
35
attribute to `true`.
36
36
37
37
A machine's IP address is defined by either the static IP for a private
0 commit comments