Commit 7d4a1f56 authored by Jérémie Gaidamour's avatar Jérémie Gaidamour
Browse files

[dev] conmang5k minor fix

parent c61bfaef
......@@ -9,14 +9,14 @@ require '../lib/input_loader'
require '../lib/hash/hash.rb'
global_hash = load_yaml_file_hierarchy("../input/grid5000/")
output_dir = 'output'
$output_dir = 'output'
conf_hash = YAML::load_file('./conf/conman-password.yaml')
conf_hash = conf_hash.expand_square_brackets()
def write_conman_file(site_uid, site, passwd)
erb ="templates/conman.erb"))
output_file = File.join(output_dir, 'conmang5k', 'files', site_uid, 'conman.conf')
output_file = File.join($output_dir, 'conmang5k', 'files', site_uid, 'conman.conf')
# Create directory hierarchy
dirname = File.dirname(output_file)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment