[Linux] Cloning of virtual machines

[To clone a virtual machine, the cloned virtual machine must be powered off;]

1. Clone the virtual machine

1. Right-click the virtual machine you want to clone

 2. After entering this page, click "Next"

3. After entering this page, click "Next"

4. After entering this page, select "Create a full clone", and then click Next

5. It is best to change the location to the D drive and put it in a folder. After the operation is completed, click Finish

6. Enter this interface, indicating that it is cloning

7. After cloning is complete, click "Close"

 


2. Modify the configuration of the cloned virtual machine

[All information of the cloned virtual machine is exactly the same as that of the cloned virtual machine]

1. Modify the mac address

① Click to edit virtual machine configuration

 ② Click on the network adapter , select Advanced

 ③ Click Generate

 ④ Click OK

 ⑤ Click OK

 2. Change the UUID address and IP address

① Use the uuidgen command to generate a new uid

uuidgen

 ② Edit the IP address of the cloned virtual machine

vim /etc/sysconfig/network-scripts/ifcfg-ens33

1. Modify uuid to the newly generated uuid above

2. Modify IPADDR to an unoccupied ip in your network segment (my network segment is 192.168.198.0, so I change the IP to 192.168.198.149)

 3. After forcing the save and exit, restart the network service

systemctl restart network

Guess you like

Origin blog.csdn.net/weixin_65690979/article/details/130140694