diff --git a/tests/e2e/tailscale/Vagrantfile b/tests/e2e/tailscale/Vagrantfile index 71152c03d8..e93fc0d90b 100644 --- a/tests/e2e/tailscale/Vagrantfile +++ b/tests/e2e/tailscale/Vagrantfile @@ -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