Fix append of VITASTOR_CONF to cmdline in the opennebula prebackup script

This commit is contained in:
Vitaliy Filippov
2024-12-28 13:33:24 +03:00
parent 044e621b62
commit abdc207297
+2 -2
View File
@@ -98,8 +98,8 @@ vm.elements.each 'TEMPLATE/DISK' do |d|
cmd = 'vitastor-cli'
qemu_arg = ''
if d.elements['VITASTOR_CONF']
cmd = cmd + ' --config_path ' + d.elements['VITASTOR_CONF']
qemu_arg += 'config_path='+d.elements['VITASTOR_CONF']+':'
cmd = cmd + ' --config_path ' + d.elements['VITASTOR_CONF'].text
qemu_arg += 'config_path=' + d.elements['VITASTOR_CONF'].text + ':'
end
draw = "#{bck_dir}/disk.#{did}.raw"