lib/vagrant-k3s/provisioner.rb in vagrant-k3s-0.1.2 vs lib/vagrant-k3s/provisioner.rb in vagrant-k3s-0.1.3

- old
+ new

@@ -13,10 +13,11 @@ super(machine,config) @logger = Log4r::Logger.new("vagrant::provisioners::k3s") end def configure(root_config) + @logger.debug root_config.inspect end def cleanup end @@ -66,10 +67,10 @@ set +o allexport curl -fsL #{config.installer_url} | sh -s - #{args} EOF outputs, handler = build_outputs begin - @machine.communicate.sudo("sh #{install_sh}", error_key: :ssh_bad_exit_status_muted, &handler) + @machine.communicate.sudo("chmod +x #{install_sh} && #{install_sh}", error_key: :ssh_bad_exit_status_muted, &handler) ensure outputs.values.map(&:close) end begin