Name issues of kvm clones
After cloning kvm through the template, I found that the name of the kvm file is too bad. I want to name it after the business.
[root@r730n1 model] # lscentos7-java8-X11-300G-clone
Rename
[root@r730n1 model] # mv centos7-java8-X11-300G-clone centos7- 1
Modify the xml configuration file, line 41 change centos7-java8-X11-300G-clone to centos7- 1
[root@r730n1 model] # vi / etc/libvirt/qemu/Centos7-1.xml 41
Then reload the configuration
[root@r730n1 model] # virsh define / etc/libvirt/qemu/Centos7-1.xml
Note: the above operations must be carried out in the shutdown state, .xml is the configuration file of kvm, all kvm configurations can be modified here, and then use the virsh define command to make it effective.