[libvirt-users] How to rename a domain?
 
            
            
            
            
                12 Oct
                
                    2010
                
            
            
                12 Oct
                
                '10
                
            
            
            
        
    
                6:58 p.m.
            
        Hi, I am using libvirt Java bindings. How can I rename a domain? Is there an API to do this? Thanks, -Ganesh
 
            
            
            
            
                14 Oct
                
            
            
                14 Oct
                
            
            
            
        
        
                5:12 p.m.
            
        
          New subject: [libvirt-users] [libvirt] How to rename a domain?
        
        
    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
        5496
        
      
          Age (days ago)
        
      
        5498
        
    
          Last active (days ago)
        
        
        
        1 comments
    
    
        
        2 participants
    
    
    
    
    
    
    
    
    participants (2)
- 
                 Cole Robinson Cole Robinson
- 
                 Ganesh Pagade Ganesh Pagade