goodhosts / vagrant

Vagrant plugin that use goodhosts to manipulate hosts files
https://rubygems.org/gems/vagrant-goodhosts/
MIT License
17 stars 8 forks source link

Windows maximum aliases per line #49

Closed hegemanjr closed 2 years ago

hegemanjr commented 2 years ago

As seen here https://superuser.com/questions/932112/is-there-a-maximum-number-of-hostname-aliases-per-line-in-a-windows-hosts-file, there is a maximum of nine aliases per line in the hosts file on Windows.

I am often beyond that maximum of nine aliases in the VVV environments I use, meaning some of my sites don't work without manually splitting the aliases into multiple lines.

Assuming that I'm not the only one running into this, I would like to request a feature that automatically splits the aliases into multiple lines if there are more than nine.

Thanks!

Mte90 commented 2 years ago

You need to open a ticket on the cli tool that this plugin uses of this project -> https://github.com/goodhosts/cli/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc

This plugin is just a wrapper around this tool and we can't do anything for this.