diff --git a/Vagrantfile b/Vagrantfile index bf126e81..91370424 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -14,7 +14,7 @@ Vagrant.configure(2) do |config| if Vagrant.has_plugin?('vagrant-sshfs') config.vm.synced_folder ".", "/var/roothome/sync", type: 'sshfs' - File.write('.vagrant/using_sshfs', '') + File.write(__dir__ + '/.vagrant/using_sshfs', '') end # turn off the default rsync in the vagrant box diff --git a/vagrant/setup.yml b/vagrant/setup.yml index a07b8493..e657d9b4 100644 --- a/vagrant/setup.yml +++ b/vagrant/setup.yml @@ -4,7 +4,7 @@ become: yes tasks: - name: generate config - local_action: shell vagrant ssh-config > ssh-config + local_action: shell vagrant ssh-config > ../ssh-config become: no # The test suite requires direct ssh to root.