]> git.proxmox.com Git - pve-container.git/commitdiff
Revert "vmstatus: Align name if not set in config to VMs"
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 20 Jan 2020 08:29:13 +0000 (09:29 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 20 Jan 2020 08:29:13 +0000 (09:29 +0100)
This reverts commit 3e5b8644ca54eb42c7c739aafdbffe7cf270ca09.

src/PVE/LXC.pm

index 81d2dd4ed56d2399c86bbc06139791997833c59e..34949c63ba55e87e63185e48822a8127c657f81e 100644 (file)
@@ -197,7 +197,7 @@ sub vmstatus {
 
        $unprivileged->{$vmid} = $conf->{unprivileged};
 
-       $d->{name} = $conf->{'hostname'} || "CT $vmid";
+       $d->{name} = $conf->{'hostname'} || "CT$vmid";
        $d->{name} =~ s/[\s]//g;
 
        $d->{cpus} = $conf->{cores} || $conf->{cpulimit};