+ print "HOOK-ENV: ";
+ print "dumpdir=$dumpdir;" if defined($dumpdir);
+ print "storeid=$storeid;" if defined($storeid);
+ print "\n";
+
+ # example: wake up remote storage node and enable storage
+ if ($phase eq 'job-init') {
+ #system("wakeonlan AA:BB:CC:DD:EE:FF");
+ #sleep(30);
+ #system ("/sbin/pvesm set $storeid --disable 0") == 0 ||
+ # die "enabling storage $storeid failed";
+ }