Browse Source

fix: use absolute path

Signed-off-by: Nikos Pitsillos <npitsillos@gmail.com>
pull/10241/head
Nikos Pitsillos 6 months ago committed by Manuel Buil
parent
commit
99f543a2d4
  1. 4
      tests/e2e/tailscale/Vagrantfile

4
tests/e2e/tailscale/Vagrantfile vendored

@ -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

Loading…
Cancel
Save