[prev in list] [next in list] [prev in thread] [next in thread]
List: libvirt-users
Subject: Re: [libvirt-users] [libvirt] How to rename a domain?
From: Cole Robinson <crobinso () redhat ! com>
Date: 2010-10-14 15:12:18
Message-ID: 4CB71DD2.7050500 () redhat ! com
[Download RAW message or body]
On 10/12/2010 12:58 PM, Ganesh Pagade wrote:
> Hi,
>
> I am using libvirt Java bindings. How can I rename a domain? Is there an API
> to do this?
>
There is no API for it. The only way to do it is basically:
virsh dumpxml myvm > foo.xml
<edit foo.xml, change the name>
virsh undefine myvm
virsh define foo.xml
- Cole
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic