Fix append of VITASTOR_CONF to cmdline in the opennebula prebackup script
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user