Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix situation with hosts file line endings #139

Merged
merged 1 commit into from
Jul 24, 2015
Merged

Fix situation with hosts file line endings #139

merged 1 commit into from
Jul 24, 2015

Conversation

la-magra
Copy link
Contributor

@la-magra la-magra commented Mar 6, 2015

For testing #138
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."

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."
seth-reeser added a commit that referenced this pull request Jul 24, 2015
Fix situation with hosts file line endings
@seth-reeser seth-reeser merged commit 7bee95f into devopsgroup-io:master Jul 24, 2015
@la-magra la-magra deleted the is-crlf-hosts-file branch September 26, 2015 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants