Difference between revisions of "Virsh domrename"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<code>[[virsh domrename]]</code> since release [[1.2.19]]: Sep 02 2015 | <code>[[virsh domrename]]</code> 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 | virsh domrename ORIGINAL_NAME NEW_NAME | ||
error: Requested operation is not valid: cannot rename active domain | error: Requested operation is not valid: cannot rename active domain | ||
+ | |||
+ | Solution, stop VM: <code>[[virsh shutdown]] ORIGINAL_NAME</code> | ||
+ | |||
+ | == Related terms == | ||
+ | * <code>[[virt-clone]]</code> | ||
== See also == | == See also == |
Latest revision as of 11:46, 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
Solution, stop VM: virsh shutdown ORIGINAL_NAME
Related terms[edit]
See also[edit]
virsh
: Storage information, Connecting, Operations, Memory, Snapshots, Networking, CPU, release notes,virsh nodedev-list
- KVM, Installation, QEMU,
virsh
,virtinst
,libguestfs-tools
, libvirt, qemu, Red Hat Virtualization (RHV), MacVTap, Virtio, oVirt, KVM services, KVM networking, KVM graphics, CPU, KVM on ARM
Advertising: