From 9fbe2d368ef3cdbb55e7f1b7cdf25fb937d12844 Mon Sep 17 00:00:00 2001 From: Sam Mingo Date: Wed, 7 Mar 2018 13:13:26 -0500 Subject: [PATCH] Update README.md Fixes a couple of typos --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 5e880cf..7d8f402 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ command: The plugin hooks into the `vagrant up` and `vagrant destroy` commands automatically. -When a machine enters or exits the running state , all active -machines with the same provider will have their `hosts` file updated +When a machine enters or exits the running state, all active +machines with the same provider will have their `/etc/hosts` file updated accordingly. Set the `hostmanager.enabled` attribute to `true` in the Vagrantfile to activate this behavior. @@ -66,7 +66,7 @@ end ### Provisioner -Starting at version 1.5.0, `vagrant up` runs hostmanager before any provisioning occurs. +Starting with version 1.5.0, `vagrant up` runs hostmanager before any provisioning occurs. If you would like hostmanager to run after or during your provisioning stage, you can use hostmanager as a provisioner. This allows you to use the provisioning order to ensure that hostmanager runs when desired. The provisioner will collect @@ -89,14 +89,14 @@ config.vm.provision :hostmanager Custom IP resolver ------------------ -You can customize way, how host manager resolves IP address -for each machine. This might be handy in case of aws provider, -where host name is stored in ssh_info hash of each machine. -This causes generation of invalid /etc/hosts file. +You can customize how host manager resolves IP address +for each machine. This might be handy in case of the aws provider, +where host name is stored in the ssh_info hash of each machine. +This causes generation of invalid `/etc/hosts` file. -Custom IP resolver gives you oportunity to calculate IP address -for each machine by yourself, giving You also access to the machine that is -updating /etc/hosts. For example: +Custom IP resolver gives you the oportunity to calculate the IP address +for each machine by yourself, giving you also access to the machine that is +updating `/etc/hosts`. For example: ```ruby config.hostmanager.ip_resolver = proc do |vm, resolving_vm|