From 48eb3f840eafc813e07631b1b23b20116331821a Mon Sep 17 00:00:00 2001 From: Bastian Date: Fri, 4 Aug 2023 15:55:23 +0200 Subject: [PATCH] fix: missing vm_id in log message --- crossover | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crossover b/crossover index 8556560..178f901 100755 --- a/crossover +++ b/crossover @@ -426,7 +426,7 @@ function mirror() { startjob=$(date +%s) get_ceph_version - log info "Local Ceph Version: $scephversion, Remote Ceph version: $dcephversion" + log info "Local Ceph Version: $scephversion, Remote Ceph Version: $dcephversion" #create pid file local pid_file="/var/run/$PROGNAME.pid" @@ -512,7 +512,7 @@ function mirror() { log error "Source VM genid ($srcvmgenid) doesn't match destination VM genid ($dstvmgenid). This should not happen. Bailing out.." end_process 255 fi - log info "VM $vm_id - Transmitting Config for to destination $opt_destination VMID $dvmid" + log info "VM $vm_id - Transmitting Config for VM $vm_id to destination $opt_destination VMID $dvmid" rewriteconfig $PVE_NODES/"${pvnode[$vm_id]}"/$QEMU/"$vm_id".conf $opt_destination "$opt_pool" $PVE_NODES/"$opt_destination"/$QEMU/"$dvmid".conf "$dvmid" map_vmids_to_dsthost "$opt_destination" fi