diff --git a/proxmox/vzdump-hook-debian-lxc-template-default.pl b/proxmox/vzdump-hook-debian-lxc-template-default.pl index f9f780f..0f25de2 100755 --- a/proxmox/vzdump-hook-debian-lxc-template-default.pl +++ b/proxmox/vzdump-hook-debian-lxc-template-default.pl @@ -5,7 +5,7 @@ # Template directory my $TEMPLATE_DIR = "/var/lib/vz/template/cache"; # Template file name -my $TEMPLATE_FILE_LINK = "debian.stretch.template.tar.gz"; +my $TEMPLATE_FILE_LINK = "debian.buster.template.tar.gz"; # Number of template to keep available my $RETENTION_TIME = "2"; @@ -61,7 +61,7 @@ if ($phase eq 'job-start' || system ("cp -- $tarfile $TEMPLATE_DIR") == 0 || die "copy tar file as a template failed"; - # Unlink (eg hostname=debian.stretch.template.tar.gz) + # Unlink (eg hostname=debian.buster.template.tar.gz) system ("unlink $TEMPLATE_DIR/$TEMPLATE_FILE_LINK"); # no die cause if the previous backup exit on tarfile copy, the link might not exist