devopsgroup-io / vagrant-hostmanager

:pencil: A Vagrant plugin that manages hosts files within a multi-machine environment.
Mozilla Public License 2.0
1.46k stars 148 forks source link

Hosts file malformed, hostname on different line than IP #265

Closed jrble819 closed 6 years ago

jrble819 commented 6 years ago

On OSX hostmanager is working almost as expected. It updates the hosts file with the requested aliases, however it is malformed. The hostname is placed on a new line after the IP address (see below). I've tried many different things and can't figure out why it's doing this.

## vagrant-hostmanager-start id: 50e1d156-3024-4ddf-ac5e-8b479bc3ce0c
172.16.130.233 
    my-vagrant-box.local

## vagrant-hostmanager-end