Re: [libvirt] [PATCH] virsh: Implement command to rename domain

2014-09-02 Thread Michal Privoznik
On 01.09.2014 10:31, Philipp Hahn wrote: Hello Tomas, On 01.09.2014 01:51, Tomas Meszaros wrote: I've recently worked with rather large number of virtual machines and needed to rename all domains. I couldn't find better way how to rename domain other than: virsh dumpxml domain

Re: [libvirt] [PATCH] virsh: Implement command to rename domain

2014-09-01 Thread Philipp Hahn
Hello Tomas, On 01.09.2014 01:51, Tomas Meszaros wrote: I've recently worked with rather large number of virtual machines and needed to rename all domains. I couldn't find better way how to rename domain other than: virsh dumpxml domain domain.xml (change domain name in

Re: [libvirt] [PATCH] virsh: Implement command to rename domain

2014-09-01 Thread Tomas Meszaros
On 01/09/14 at 10:31am, Philipp Hahn wrote: This has been requested in the past already (even by me ;-) Renaming is not that simple, as there are several more things to do: 1. Rename log files (this was somehow controversial last time it was discussed, especially combined with external

[libvirt] [PATCH] virsh: Implement command to rename domain

2014-08-31 Thread Tomas Meszaros
I've recently worked with rather large number of virtual machines and needed to rename all domains. I couldn't find better way how to rename domain other than: virsh dumpxml domain domain.xml (change domain name in domain.xml) virsh undefine domain virsh define domain.xml This