Difference between revisions of "Virsh domrename"

From wikieduonline
Jump to navigation Jump to search
Line 4: Line 4:
  
  
  virsh domrename ORIGINAL_NAME NEW_NAME
+
virsh domrename ORIGINAL_NAME NEW_NAME
  Domain successfully renamed
+
Domain successfully renamed
  
 
  virsh domrename ORIGINAL_NAME NEW_NAME
 
  virsh domrename ORIGINAL_NAME NEW_NAME

Revision as of 11:45, 13 August 2020

virsh domrename since release 1.2.19: Sep 02 2015

Rename a domain. This command changes current domain name to the new name specified in the second argument. Note: Domain must be inactive and without snapshots or checkpoints. Disk are not renamed.


virsh domrename ORIGINAL_NAME NEW_NAME
Domain successfully renamed
virsh domrename ORIGINAL_NAME NEW_NAME
error: Requested operation is not valid: cannot rename active domain


Related terms

See also

Advertising: