]> git.proxmox.com Git - pve-zsync.git/blobdiff - pve-zsync
fix check for cdrom.
[pve-zsync.git] / pve-zsync
index bf7189484c39aed79a895eae67157a3a9e2882a0..5fa529257fd8a8a9fafc8693e38e8d10cc2ce167 100644 (file)
--- a/pve-zsync
+++ b/pve-zsync
@@ -770,7 +770,7 @@ sub parse_disks {
     while ($text && $text =~ s/^(.*?)(\n|$)//) {
        my $line = $1;
 
-       next if $line =~ /cdrom|none/;
+       next if $line =~ /media=cdrom/;
        next if $line !~ m/^(?:((?:virtio|ide|scsi|sata|mp)\d+)|rootfs): /;
 
        #QEMU if backup is not set include in  sync