Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 31c5f5f5 authored by Jonathan Pastor's avatar Jonathan Pastor
Browse files

fix ssh host when providing no OAR URL

parent 48805497
No related branches found
No related tags found
1 merge request!6WIP: Features/oar gpus
...@@ -1421,6 +1421,9 @@ def generate_oar_properties(options) ...@@ -1421,6 +1421,9 @@ def generate_oar_properties(options)
site_name = options[:site] site_name = options[:site]
# Replace the site placeholder of ssh hosts by the site
options[:ssh][:host] = options[:ssh][:host].gsub('%s', site_name)
# If no cluster is given, then the clusters are the cluster of the given site # If no cluster is given, then the clusters are the cluster of the given site
if not options.key? :clusters or options[:clusters].length == 0 if not options.key? :clusters or options[:clusters].length == 0
if data_hierarchy['sites'].key? site_name if data_hierarchy['sites'].key? site_name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment