From 77bca840f5e917186fe6c340f5760a9f0b763dad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Thu, 9 Apr 2020 11:29:46 +0200 Subject: [PATCH] Update to Debian Buster --- proxmox/vzdump-hook-debian-lxc-template-default.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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