Open bbrala opened 6 years ago
@bbrala I can confirm this happens on Mac OS X as well. I think it also affects changing /etc/exports when using NFS shares.
My guts tell me is runs out of space in a string but i don't really know the specifics Ruby good enough to be sure.
We add quite a few entries with this plugin and the resulting hostsfile on the linux hosts file is being cut off.
We run on Windows Hyper-V but im not sure if that really matters. I think some variable is running out of space. But im not entirely sure.
I've made a Vagrantfile which shows the problem in action. The resulting file in
/etc/hosts
The resulting hosts file: