Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Name issues of kvm clones

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report