virsh dumpxml centos731 > /etc/libvirt/qemu/centos734.xml virsh destroy centos731 virsh undefine centos731 Domain centos731 has been undefined vim /etc/libvirt/qemu/centos734.xml virsh define /etc/libvirt/qemu/centos734.xml virsh list --all Id Name State ---------------------------------------------------- 5 centos73 running 8 centos733 running - centos732 shut off - centos734 shut off virsh start centos734 --console
转载于:https://blog.51cto.com/m51cto/1958514