Article ID: 120251, created on Feb 20, 2014, last review on Apr 25, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers
  • Virtuozzo hypervisor
  • Virtual Automation


PVA displays CTs by their "names", but not "hostnames".

As a possible solution, names and hostnames can be made equal for all containers:


# vzlist -Hao veid,hostname | while read veid hostname ; do vzctl set $veid --save --name $hostname ; done


for /f "tokens=1,2" %a in ('vzlist -Hao "veid,hostname"') do vzctl set %a --save --name %b

Alternatively, names can be unset at all, if they are not required.


# vzlist -Hao veid | while read veid ; do vzctl unset $veid --save --name ; done


for /f %a in ('vzlist -Hao veid') do vzctl set %a --save --name ""

d02f9caf3e11b191a38179103495106f 2897d76d56d2010f4e3a28f864d69223 a26b38f94253cdfbf1028d72cf3a498b 319940068c5fa20655215d590b7be29b 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF