]> git.proxmox.com Git - pve-zsync.git/commitdiff
Add efidisk as a valid disk key
authorFabian Ebner <f.ebner@proxmox.com>
Mon, 27 Jan 2020 09:47:38 +0000 (10:47 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 27 Jan 2020 17:42:05 +0000 (18:42 +0100)
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
pve-zsync

index 04c5c5a9acbcff12b12811206157e0f4efe77a18..25add923165a29f4c8d4e896d6ffd408bf720cb4 100755 (executable)
--- a/pve-zsync
+++ b/pve-zsync
@@ -53,7 +53,7 @@ my $HOSTRE = "(?:$HOSTv4RE1|\\[$IPV6RE\\])";       # ipv6 must always be in brac
 # targets are either a VMID, or a 'host:zpool/path' with 'host:' being optional
 my $TARGETRE = qr!^(?:($HOSTRE):)?(\d+|(?:[\w\-_]+)(/.+)?)$!;
 
-my $DISK_KEY_RE = qr/^(?:(?:(?:virtio|ide|scsi|sata|mp)\d+)|rootfs): /;
+my $DISK_KEY_RE = qr/^(?:(?:(?:virtio|ide|scsi|sata|efidisk|mp)\d+)|rootfs): /;
 
 my $command = $ARGV[0];