diff --git a/Project.toml b/Project.toml index 4a28507..7cd8ef3 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "RemoteHPC" uuid = "c4f2a1c4-7655-40d8-82ee-c6ae0a8b7409" authors = ["louisponet "] -version = "0.3.28" +version = "0.3.29" [deps] BinaryTraits = "190e46ec-f771-4705-b939-984896f7be0e" diff --git a/src/servers.jl b/src/servers.jl index 58622e4..be36986 100644 --- a/src/servers.jl +++ b/src/servers.jl @@ -247,8 +247,9 @@ function install_julia(s::Server) finish!(spinner, ErrorException("Issue unpacking julia executable on cluster, please install julia manually")) end server_command(s, "rm $julia_tar") - - return "~/julia-1.8.5/bin/julia" + s.julia_exec = "~/julia-1.8.5/bin/julia" + save(s) + return s.julia_exec end end @@ -274,6 +275,8 @@ function install(s::Server, julia_exec = s.julia_exec) if res.exitcode != 0 finish!(spinner, ErrorException("Something went wrong installing RemoteHPC on server, please install manually")) end + + save(s) end @info "RemoteHPC installed on remote cluster, try starting the server with `start(server)`." end