Tutorial on cloning a virtual machine and tutorial on cloning a virtual machine

Source: Internet
Author: User

Tutorial on cloning a virtual machine and tutorial on cloning a virtual machine

To clone a VM, you must first disable it.

Right-click-Manage-clone

Next step

Next step

"Create Link clone"

Enable the cloned Virtual Machine

Modify the static IP address (to prevent conflicts with the IP address of the original virtual machine, CentOS 7 configures the static IP address in NAT Mode)

Vi/etc/sysconfig/network-scripts/ifcfg-ens33
IPADDR = 192.168.150.129

Delete the UUID line

Save and exit

Restart NETWORK SERVICE

Systemctl restart network. service

View IP addresses

Ifconfig

Ping connectivity test

Ping www.baidu.com

Set Host Name

[Root @ localhost ~] # Hostnamectl set-hostname centos-02

Set the original VM Host Name (CentOS-01 host name)

[Root @ localhost ~] # Hostnamectl set-hostname centos-01

CentOS-02 Snapshot

Right-click a snapshot and choose "snapshot" from the shortcut menu.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.