From d24e75f76bcd2645fa3e617d9c834fe7390c99df Mon Sep 17 00:00:00 2001 From: Paul Bellamy Date: Wed, 20 May 2015 15:35:40 +0100 Subject: [PATCH] extract vagrantfile shared bits --- Vagrantfile | 60 ++++++-------------------------------------- test/Vagrantfile | 19 +++----------- vagrant-common.rb | 64 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 68 deletions(-) create mode 100644 vagrant-common.rb diff --git a/Vagrantfile b/Vagrantfile index 0b52078d..6a76addb 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,8 +1,8 @@ VAGRANTFILE_API_VERSION = "2" -vm_ip = "172.16.0.3" # arbitrary private IP +require './vagrant-common.rb' -go_version = "1.4.2" +vm_ip = "172.16.0.3" # arbitrary private IP pkgs = %w( lxc-docker @@ -16,52 +16,6 @@ pkgs = %w( bc ) -go_path = "/usr/local/go/bin" - -$install_build_deps = <