Sync folders with nfs
This commit is contained in:
parent
732bd9ddad
commit
e86a6a7667
1 changed files with 2 additions and 0 deletions
2
Vagrantfile
vendored
2
Vagrantfile
vendored
|
@ -43,6 +43,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|||
core.vm.network :private_network, ip: "#{BASE_IP_ADDR}.#{i+1}"
|
||||
core.vm.synced_folder ".", "/data/infrastructure"
|
||||
core.vm.synced_folder "/data/per-user", "/data/per-user"
|
||||
core.vm.synced_folder ".", "/data/infrastructure", id: "coreos-infrastructure", :nfs => true, :mount_options => ['nolock,vers=3,udp']
|
||||
core.vm.synced_folder "/data/per-user", "/data/per-user", id: "coreos-per-user", :nfs => true, :mount_options => ['nolock,vers=3,udp']
|
||||
core.vm.provision :file, source: "./config/user-data", destination: "/tmp/vagrantfile-user-data"
|
||||
core.vm.provision :shell, path: "./scripts/setup.sh"
|
||||
core.vm.provision :shell, path: "./scripts/approve-user.sh", args: [HOSTNAME, "nginx"]
|
||||
|
|
Loading…
Reference in a new issue