[pve-devel] [PATCH V4 pve-container] fix #146 add name to backup log.

Wolfgang Link w.link at proxmox.com
Mon Jun 27 14:37:13 CEST 2016


---
 src/PVE/VZDump/LXC.pm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/PVE/VZDump/LXC.pm b/src/PVE/VZDump/LXC.pm
index 7b22f0a..fc20735 100644
--- a/src/PVE/VZDump/LXC.pm
+++ b/src/PVE/VZDump/LXC.pm
@@ -101,6 +101,9 @@ sub prepare {
     my $conf = $self->{vmlist}->{$vmid} = PVE::LXC::Config->load_config($vmid);
     my $storage_cfg = $self->{storecfg};
 
+    $self->loginfo("CT Hostname: $conf->{hostname}")
+	if defined($conf->{hostname});
+
     my $running = PVE::LXC::check_running($vmid);
 
     my $disks = $task->{disks} = [];
-- 
2.1.4




More information about the pve-devel mailing list