summaryrefslogtreecommitdiffstats
path: root/vagrant/Vagrantfile
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2018-09-05 06:44:16 -0700
committerVictor Morales <victor.morales@intel.com>2018-09-05 06:47:08 -0700
commit849f6ae8239a818ed03954e581f1818899d86b9c (patch)
tree77732f84714603fb60309646ecb68e83f6464855 /vagrant/Vagrantfile
parent897a3ccd55fb562b029525808797d628808e689e (diff)
Use local changes to build images
The current implementation is using an external copy of the source code to buil the docker image. This approach makes hard to debug and try new changes during development phase. This change allows to sync local source code folder between host and guest machines. Change-Id: Ia723499f0e113e5adebb46a0cea6662f703695e5 Signed-off-by: Victor Morales <victor.morales@intel.com> Issue-ID: MULTICLOUD-301
Diffstat (limited to 'vagrant/Vagrantfile')
-rw-r--r--vagrant/Vagrantfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index ba71ba7e..61031bba 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -106,6 +106,7 @@ Vagrant.configure("2") do |config|
config.vm.define :installer, primary: true, autostart: false do |installer|
installer.vm.hostname = "multicloud"
installer.vm.network :private_network, :ip => "10.10.10.2", :type => :static
+ installer.vm.synced_folder '../', '/root/go/src/k8-plugin-multicloud/', type: sync_type
installer.vm.provision 'shell' do |sh|
sh.path = "installer.sh"
sh.args = ['-p', '-v', '-w', '/vagrant']