Skip to content

Commit 1caa3c3

Browse files
committed
update README with Windows support information
1 parent 3edc923 commit 1caa3c3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,22 @@ config.hostmanager.ip_resolver = proc do |vm|
9191
end
9292
```
9393

94+
Windows support
95+
---------------
96+
97+
Hostmanager will detect Windows guests and hosts and use the appropriate
98+
path for the ```hosts``` file: ```%WINDIR%\System32\drivers\etc\hosts```
99+
100+
By default on a Windows host, the ```hosts``` file is not writable without
101+
elevated privileges. If hostmanager detects that it cannot overwrite the file,
102+
it will attempt to do so with elevated privileges, causing the
103+
[UAC](http://en.wikipedia.org/wiki/User_Account_Control) prompt to appear.
104+
105+
### UAC limitations
106+
107+
Due to limitations caused by UAC, cancelling out of the UAC prompt will not cause any
108+
visible errors, however the ```hosts``` file will not be updated.
109+
94110
Contribute
95111
----------
96112
Contributions are welcome.

0 commit comments

Comments
 (0)