From d893f448339d7ff1a3f3b4d6a259fbb11cd9efa6 Mon Sep 17 00:00:00 2001 From: Marc CARRE Date: Wed, 26 Oct 2016 16:01:36 +0100 Subject: [PATCH] Vagrantfile now copies SSH key required to run smoke tests from host to guest. --- Vagrantfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 95e20761..5e636d2b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -30,6 +30,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.synced_folder ".", "/vagrant", disabled: true config.vm.synced_folder ".", "/home/vagrant/src/github.com/weaveworks/weave" + # Set SSH keys up to be able to run smoke tests straightaway: + config.vm.provision "file", source: "~/.vagrant.d/insecure_private_key", destination: "/home/vagrant/src/github.com/weaveworks/weave/test/insecure_private_key" + install_build_deps config.vm, pkgs install_go_toochain config.vm tweak_user_env config.vm