mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 13:16:48 +09:00
M #-: Allow creating provision without datastore (#593)
This commit is contained in:
1 parent
ec8a060be4
commit
7ffbeba265
1 file changed
+2
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user