diff --git a/Rakefile b/Rakefile index 3fbfd3be10a57a22caed517fb7efb89db8843f42..c2e90ad67e16f4dd4bdb546564eb029d7ea83127 100644 --- a/Rakefile +++ b/Rakefile @@ -189,6 +189,8 @@ namespace :oar do # by default, maintenance is YES when creating new resources command.concat(' -p maintenance="YES"') end + # by default, an Alive node has comment "OK" + command.concat(' -p comment="OK"') end command.concat(" -p ").concat( export.to_a.map{|(k,v)| if v.nil? diff --git a/generators/lib/grid5000/node.rb b/generators/lib/grid5000/node.rb index 1ee5c43a199692edb9077808d5fd03ba32975ed6..bdc94aaf5104db413d44046d8bc9a4386afaabec 100644 --- a/generators/lib/grid5000/node.rb +++ b/generators/lib/grid5000/node.rb @@ -43,7 +43,6 @@ module Grid5000 h['memcore'] = properties['main_memory']['ram_size']/properties['architecture']['smt_size']/MiB h['memcpu'] = properties['main_memory']['ram_size']/properties['architecture']['smp_size']/MiB h['memnode'] = properties['main_memory']['ram_size']/MiB - h['comment'] = properties['comment'] || "OK" properties["gpu"] ||= {} h['gpu'] = properties['gpu']['gpu'] ? "YES" : "NO" properties["monitoring"] ||= {}