[pve-devel] applied: [PATCH V2 pve-zsync] fix check for cdrom.
Wolfgang Bumiller
w.bumiller at proxmox.com
Thu Mar 23 11:36:28 CET 2017
applied
On Thu, Mar 23, 2017 at 11:14:37AM +0100, Wolfgang Link wrote:
> 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