Open danowar2k opened 4 months ago
It looks like if the option is defined, it would only be need to be used here: https://github.com/devopsgroup-io/vagrant-hostmanager/blob/fe00b37532057ac494c59fb306acb6f760ea6de1/lib/vagrant-hostmanager/hosts_file/updater.rb#L104
To decide whether to do newlines for each alias or not (and whether to prefix the entry with IP, okay, it's a little more complex to build the string)
I'm not sure if the current method can lead to bad behaviour.
Currently, using the aliases option...
Vagrantfile:
leads to the following lines (concrete IP not important):
I don't know if the resolving process will get problems with this, but I've heard that the stuff should be on the same line for an IP. Like this:
How about at least an option with which to select which way will be used?