From abdc20729715e92b0083aee7beeb2b47407c9ff1 Mon Sep 17 00:00:00 2001 From: Vitaliy Filippov Date: Sat, 28 Dec 2024 13:33:24 +0300 Subject: [PATCH] Fix append of VITASTOR_CONF to cmdline in the opennebula prebackup script --- opennebula/remotes/tm/vitastor/prebackup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opennebula/remotes/tm/vitastor/prebackup b/opennebula/remotes/tm/vitastor/prebackup index 6bdc39bd..0ccad655 100755 --- a/opennebula/remotes/tm/vitastor/prebackup +++ b/opennebula/remotes/tm/vitastor/prebackup @@ -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"