: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
How do you configure multiple VMs in one Vagrantfile with different hostnames? #247
Closed
denizdogan closed 6 years ago
I use Vagrant 2.0.1 and VirtualBox 5.1.30 on macOS High Sierra 10.13.2 Developer Beta.
I have configured two VMs in the same Vagrantfile, one for a local VirtualBox-based VM and one for Google Compute Engine using
vagrant-google
.I've booted both machines (local and cloud) using
vagrant up
but /etc/hosts only contains:This is the relevant part of my Vagrantfile:
What am I doing wrong?