From 53c20f289a42a83330b790a1ba490c24bc22a65a Mon Sep 17 00:00:00 2001 From: Evgeniy L Date: Mon, 13 Apr 2015 16:53:33 +0300 Subject: [PATCH 1/2] 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" From e3fd0b10e0026ce2c188c9c048e9d953a580721b Mon Sep 17 00:00:00 2001 From: Evgeniy L Date: Mon, 13 Apr 2015 16:55:25 +0300 Subject: [PATCH 2/2] It's not required to pull specific docker image for development env Pulling of specific image should be done during configuration run. --- docker.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/docker.yml b/docker.yml index b9254ff4..f4c70229 100644 --- a/docker.yml +++ b/docker.yml @@ -6,4 +6,3 @@ register: docker_version - shell: curl -sSL https://get.docker.com/ | sudo sh when: docker_version | failed - - shell: docker pull debian:jessie