[pve-devel] [PATCH V2 pve-zsync] fix check for cdrom.
Wolfgang Link
w.link at proxmox.com
Thu Mar 23 11:14:37 CET 2017
It is false positive if cache mode is set to none.
---
pve-zsync | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pve-zsync b/pve-zsync
index bf71894..5fa5292 100644
--- 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
--
2.1.4
More information about the pve-devel
mailing list