Open JPvRiel opened 7 years ago
A workaround is to explicitly set the hostname.
E.g. untested example code
hosts = ['h1', 'h2']
hosts.each do |h|
config.vm.define "#{h}" do | d |
d.vm.hostname = "#{h}.#{config.landrush.tld}"
end
end
Obviously, that's less concise... but it helps landrush work.
In a Vagrantfile config, the Vagrant hostnames given by
config.vm.define
are ignored and landrush tries to rename the host to the same thing for each instance. Instead, it's using the current folder's name?E.g. I get:
Using a config like
I'd expect h1.vagrant.test and h2.vagrant.test, not dev-cluster.vagrant.test