![]() I already tried using different orders (loop inside-out, VBox at the end), removing dashes from the hostname, setting the variables identical to v_hostname but explicitly for vbox_name.ĭoes anyone have an idea what's wrong here? It's only the VBox machine name which is not set correctly. The hostname inside the VM is correctly set to "node-1" and the node name used by Vagrant as well. Please use another name or delete the machine with the existing => node-2: Checking if box 'centos/7' version '2004.01' is up to date.Ī VirtualBox machine with the name 'node-3' already exists. ![]() => node-2: Matching MAC address for NAT networking. => node-2: Importing base box 'centos/7'. => node-1: Clearing any previously set network interfaces. => node-1: Setting the name of the VM: node-3 => node-1: Checking if box 'centos/7' version '2004.01' is up to date. => node-1: Matching MAC address for NAT networking. => node-1: Importing base box 'centos/7'. My expectation: the hostname inside the VM (node.vm.hostname) and the VBox machine name are set to identical values: node-1, node-2, node-3Īctual Result: (removed some lines from network settings, guest additions and rsyncing folders) #> vagrant upīringing machine 'node-1' up with 'virtualbox' provider.īringing machine 'node-2' up with 'virtualbox' provider.īringing machine 'node-3' up with 'virtualbox' provider. VM_NAME="node"Ĭonfig.vm.provider "virtualbox" do |vbox| I have a bit of trouble provisioning a multi-machine setup from a Vagrantfile.
0 Comments
Leave a Reply. |