VMware clone Centos7.0 virtual machine NIC fails to boot

Source: Internet
Author: User

Quick approach:

Cat/etc/sysconfig/network-scripts/ifcfg-eth0

Sed-i '/uuid/d '/etc/sysconfig/network-scripts/ifcfg-eth0

Sed-i '/hwaddr/d '/etc/sysconfig/network-scripts/ifcfg-eth0

>/etc/udev/rules.d/70-persistent-net.rules

Reboot
===========================================================


VMware cloning Centos7.0 virtual machine NIC does not start problem

post-creation symptoms: Use ifconfig after startup, find no IP address, only the loopback address is 127.0.0.1,
No matter how the following command is executed:
/etc/init.d/network  RESTART
ifup eth0

Workaround:
1. Edit the eth0 configuration file: Vi/etc/sysconfig/network-scripts/ifcfg-eth0, delete the hwaddr address the line and UUID lines are as follows:
hwaddr=00:0c:29:08:28:9f
Uuid=cee39dbb-6a10-4425-9daf-768b6e79a9c9
Tip: Of course you can also modify the actual hwaddr and UUID without deleting it. See
/etc/udev/rules.d/70-persistent-net.rules

Eth0 Nic File modified:

2. If necessary, empty the following files:
>/etc/udev/rules.d/70-persistent-net.rules.
Hint: The machine name can not be changed

3. Reboot the system: Reboot or reboot outside the VM.

4. Reason guessing: VM Cloning is a protection policy to protect the source machine and clone machine from initiating network configuration address conflicts.


This article is from the "Target: India" blog, please be sure to keep this source http://shunzi115.blog.51cto.com/5184443/1933617

VMware clone Centos7.0 virtual machine NIC fails to boot

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.