Correct target directory path in Vagrantfile

Since copying to ~ and ~/ are not the same thing.
This commit is contained in:
Michael Klishin 2018-03-13 18:27:15 +03:00
parent 93321e17cd
commit 8a5b769569
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ Vagrant.configure(2) do |config|
# Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the
# documentation for more information about their specific syntax and use.
config.vm.provision "shell", inline: "sudo apt-get -y update"
config.vm.provision "file", source: "example", destination: "~"
config.vm.provision "file", source: "example", destination: "~/example"
config.vm.provision "shell", inline: "/bin/sh /home/vagrant/example/setup.sh"
# config.vm.provision "shell", inline: <<-SHELL
# sudo apt-get update