5
0
mirror of git://git.proxmox.com/git/pve-zsync.git synced 2024-12-21 17:33:49 +03:00

add tpmstate to disk keys

Ensures that a TPM state volume is synced too.

Reported on the PVE-User mailing list:
https://lists.proxmox.com/pipermail/pve-user/2021-December/172944.html

Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
Fabian Ebner 2022-01-03 11:17:20 +01:00 committed by Fabian Grünbichler
parent 0ee11576c9
commit eab51dc0de

View File

@ -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|efidisk|mp)\d+)|rootfs): /;
my $DISK_KEY_RE = qr/^(?:(?:(?:virtio|ide|scsi|sata|efidisk|tpmstate|mp)\d+)|rootfs): /;
my $INSTANCE_ID = get_instance_id($$);