From 1caa3c373bbee70b43f2a5f1f44f92728e3ba969 Mon Sep 17 00:00:00 2001 From: Paulo Bittencourt Date: Wed, 20 Nov 2013 23:04:37 -0500 Subject: [PATCH] update README with Windows support information --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 57f4e8d..db196e4 100644 --- a/README.md +++ b/README.md @@ -91,6 +91,22 @@ config.hostmanager.ip_resolver = proc do |vm| end ``` +Windows support +--------------- + +Hostmanager will detect Windows guests and hosts and use the appropriate +path for the ```hosts``` file: ```%WINDIR%\System32\drivers\etc\hosts``` + +By default on a Windows host, the ```hosts``` file is not writable without +elevated privileges. If hostmanager detects that it cannot overwrite the file, +it will attempt to do so with elevated privileges, causing the +[UAC](http://en.wikipedia.org/wiki/User_Account_Control) prompt to appear. + +### UAC limitations + +Due to limitations caused by UAC, cancelling out of the UAC prompt will not cause any +visible errors, however the ```hosts``` file will not be updated. + Contribute ---------- Contributions are welcome.