Skip to content

Commit

Permalink
fix: use absolute path
Browse files Browse the repository at this point in the history
Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com>
  • Loading branch information
npitsillos authored and manuelbuil committed May 27, 2024
1 parent 86b2554 commit 99f543a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/e2e/tailscale/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ def provision(vm, roles, role_num, node_num)
else
vpn_auth_method = "vpn-auth-file"
File.write("./vpn-auth-file", auth_info)
vm.provision "file", source: "./vpn-auth-file", destination: "$HOME/vpn-auth-file"
vpn_auth = File.expand_path("$HOME/vpn-auth-file")
vm.provision "file", source: "./vpn-auth-file", destination: "/home/vagrant/vpn-auth-file"
vpn_auth = "/home/vagrant/vpn-auth-file"
end
vm.provision :k3s, run: 'once' do |k3s|
k3s.config_mode = '0644' # side-step https://github.com/k3s-io/k3s/issues/4321
Expand Down

0 comments on commit 99f543a

Please sign in to comment.