1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

M #-: Allow creating provision without datastore (#593)

This commit is contained in:
Jan Orel 2021-01-07 16:04:02 +01:00 committed by GitHub
parent c008a5cfac
commit edda7e96bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -290,7 +290,8 @@ module OneProvision
ds.info(d['id'])
next unless ds.one['TYPE'] == '1' # only system ds
group_vars['sys_ds_ids'] << d['id']
end
end unless datastores.nil?
c = YAML.dump(group_vars)
fname = "#{ansible_dir}/group_vars.yml"
Driver.write_file_log(fname, c)