[pve-devel] [PATCH pve-zsync] fix check for cdrom.
Wolfgang Link
w.link at proxmox.com
Wed Mar 22 15:40:29 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..68a03d4 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 $file =~ /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