How to clone a virtual machine in centos6.x

Source: Internet
Author: User

First, the experimental environment

System: CentOS6.5


Second, the experimental steps

1) Cloning the virtual machine must be in the state of the machine shutdown to do the following


650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/82/FD/wKiom1dn58WD9tjxAAMPS4dq4ew966.png-wh_500x0-wm_3 -wmp_4-s_2402973844.png "style=" Float:none; "title=" 4j11) vb~m64h0izy4l4ip[j.png "alt=" Wkiom1dn58wd9tjxaamps4dq4ew966.png-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/82/FD/wKiom1dn58fxfU2EAAHDkg5875w293.png-wh_500x0-wm_3 -wmp_4-s_216141134.png "style=" Float:none; "title=" X$%ldu$kj$]kv3vs5ka7qr7.png "alt=" Wkiom1dn58fxfu2eaahdkg5875w293.png-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/82/FD/wKiom1dn58az223HAAD_INPrEKs650.png-wh_500x0-wm_3 -wmp_4-s_3525075196.png "style=" Float:none; "title=" Fks67fxvz@6[z[_{%uqvss8.png "alt=" wKiom1dn58az223HAAD_ Inpreks650.png-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M02/82/FC/wKioL1dn58aD2jrRAAFSB89TTqo775.png-wh_500x0-wm_3 -wmp_4-s_3998021342.png "style=" Float:none; "title=" Kqqrb}1ho)}i32nrd{pf3]k.png "alt=" Wkiol1dn58ad2jrraafsb89ttqo775.png-wh_50 "/>

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/82/FC/wKioL1dn58XRIZjFAADBMDQBJNU331.png-wh_500x0-wm_3 -wmp_4-s_3418511860.png "style=" Float:none; "title=" 7k{k3kz9x0u]ceobx (h0% ' Y.png "alt=" Wkiol1dn58xrizjfaadbmdqbjnu331.png-wh_50 "/>

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/FD/wKiom1dn58ODUM8sAADIV7yqB7Q174.png-wh_500x0-wm_3 -wmp_4-s_2593141225.png "style=" Float:none; "title=" @2v2_z[g2au2 (g4}m31}pqd.png "alt=" Wkiom1dn58odum8saadiv7yqb7q174.png-wh_50 "/>

650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/82/FC/wKioL1dn58TwJpECAACE5fk9ZYk006.png-wh_500x0-wm_3 -wmp_4-s_1342505882.png "style=" Float:none; "title=" {]vcw}[l2vtb}dglw%n0z[s.png "alt=" Wkiol1dn58twjpecaace5fk9zyk006.png-wh_50 "/>


2) Cloning machine and the original machine is the same, so can not get to IP, not Internet, delete network card information hwaddr and UUID information, and the need to do the following:

Device=eth0
Type=ethernet
UUID=4D5E10FD-F944-464E-GEEC-5F2FC438E9D8---Delete this
Onboot=yes
dns1=8.8.8.8
dns2=202.106.0.20
Nm_controlled=yes
Bootproto=none
hwaddr=00:0c:29:1d:18:41----Delete this
ipaddr=10.0.0.130
netmask=255.255.255.0
gateway=10.0.0.254
Ipv6init=no
Userctl=no

Empty: >/etc/udev/rules.d/70-persistent-net.rules
Restart: reboot


3) If DHCP is set, the IP address can be obtained after rebooting

Use: ifconfig eth0 view IP







This article is from "Wake up your not alarm clock but dream" blog, please be sure to keep this source http://purify.blog.51cto.com/10572011/1791165

How to clone a virtual machine in centos6.x

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.