[pve-devel] [PATCH manager 04/12] Revert "VZDump: add TARFILE to environment for hookscripts"

Fabian Ebner f.ebner at proxmox.com
Fri Jun 4 15:49:38 CEST 2021


This reverts commit b3dec633d07e992d626e4c1878dbfa72ac30027d.

Signed-off-by: Fabian Ebner <f.ebner at proxmox.com>
---
 PVE/VZDump.pm | 2 --
 1 file changed, 2 deletions(-)

diff --git a/PVE/VZDump.pm b/PVE/VZDump.pm
index 8213ed66..e6a3a16f 100644
--- a/PVE/VZDump.pm
+++ b/PVE/VZDump.pm
@@ -652,8 +652,6 @@ sub run_hook_script {
     foreach my $ek (qw(vmtype hostname target logfile)) {
 	$ENV{uc($ek)} = $task->{$ek} if $task->{$ek};
     }
-    # FIXME: for backwards compatibility - drop with PVE 7.0
-    $ENV{TARFILE} = $task->{target} if $task->{target};
 
     run_command ($logfd, $cmd);
 }
-- 
2.30.2






More information about the pve-devel mailing list