From 53c20f289a42a83330b790a1ba490c24bc22a65a Mon Sep 17 00:00:00 2001 From: Evgeniy L Date: Mon, 13 Apr 2015 16:53:33 +0300 Subject: [PATCH] Do not run development env configuration for all VMs It's only required for the first VM, it reduces the time of env setup. --- Vagrantfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index c08a7b15..462118b0 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -15,9 +15,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "deb/jessie-amd64" - config.vm.provision "shell", inline: init_script, privileged: true - config.vm.define "solar-dev", primary: true do |guest1| + guest1.vm.provision "shell", inline: init_script, privileged: true guest1.vm.provision "file", source: "~/.vagrant.d/insecure_private_key", destination: "/vagrant/tmp/keys/ssh_private" guest1.vm.network "private_network", ip: "10.0.0.2" guest1.vm.host_name = "solar-dev"