I ran into a situation in which the the hosts file in the guest (ubuntu 14.04) had CRLF line endings when vagranted from a Windows server 2012 R2, with Vagrant 1.7.2 with hostmanager 1.5.0 . The vagrant commands where run from a cygwin shell. As per Ruby documentation, replacing open mode to binary "Suppresses EOL <-> CRLF conversion on Windows." |
||
|---|---|---|
| .. | ||
| action | ||
| hosts_file | ||
| action.rb | ||
| command.rb | ||
| config.rb | ||
| errors.rb | ||
| plugin.rb | ||
| provisioner.rb | ||
| util.rb | ||
| version.rb | ||