mirror of
https://github.com/clearlinux/cloud-native-setup.git
synced 2026-08-19 05:27:26 +00:00
Mount the working dir at vagrant user home
Instead of mounting at /vagrant it will now be at /home/vagrant/clr-k8s-examples Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
This commit is contained in:
committed by
Ganesh Maharaj Mahalingam
parent
5beadf6a23
commit
f5b1aa7ee5
Vendored
+3
@@ -43,6 +43,9 @@ Vagrant.configure("2") do |config|
|
||||
# boxes at https://vagrantcloud.com/search.
|
||||
config.vm.box = $box
|
||||
|
||||
# Mount the current dir at home folder instead of default
|
||||
config.vm.synced_folder './', '/vagrant', disabled: true
|
||||
config.vm.synced_folder './', '/home/vagrant/' + File.basename(Dir.getwd), type: 'rsync'
|
||||
#Setup proxies for all machines
|
||||
(1..$num_instances).each do |i|
|
||||
base_ip = base_ip.succ
|
||||
|
||||
Reference in New Issue
Block a user