Vagrantfile now copies SSH key required to run smoke tests from host to guest.

This commit is contained in:
Marc CARRE committed 2016-10-26 16:09:09 +01:00
1 parent 4839f41809
commit d893f44833
1 file changed
+3
Vendored
+3
View File
@@ -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