From 4540818c10b95bc7cb82fbafb24c88f34e90ceef Mon Sep 17 00:00:00 2001 From: Soenke Ruempler Date: Sun, 20 Apr 2014 14:04:43 +0200 Subject: [PATCH] Make example vagrant boxes easier to handle. By setting the hostname of the testnodes in order to make them distinguishable from each other (currently both nodes have `precise64` as default hostname). --- demo/vagrant-cluster/Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demo/vagrant-cluster/Vagrantfile b/demo/vagrant-cluster/Vagrantfile index 3cbc773124..8835026ec1 100644 --- a/demo/vagrant-cluster/Vagrantfile +++ b/demo/vagrant-cluster/Vagrantfile @@ -25,10 +25,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision "shell", inline: $script config.vm.define "n1" do |n1| + n1.vm.hostname = "n1" n1.vm.network "private_network", ip: "172.20.20.10" end config.vm.define "n2" do |n2| + n2.vm.hostname = "n2" n2.vm.network "private_network", ip: "172.20.20.11" end end