From 99f543a2d45b70fb044f865eb62dcb74bd471a85 Mon Sep 17 00:00:00 2001 From: Nikos Pitsillos Date: Fri, 24 May 2024 10:53:18 +0100 Subject: [PATCH] fix: use absolute path Signed-off-by: Nikos Pitsillos --- tests/e2e/tailscale/Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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