A problem with creating a cloned virtual machine in VMware CentOS causes the NIC device to fail to start

Source: Internet
Author: User
Tags uuid

First, preface

When creating a clone virtual machine, if the template virtual machine is not configured beforehand, it will cause the network card device to not start the problem (error is as follows).

Bringing up interface Eth0:device eth0 does not seem to be present, delaying initialization

Second, the solution

1. Modify the NIC configuration file/etc/sysconfig/network-scripts/ifcfg-eth0

Delete the UUID line, because the MAC address of each card is not the same, so the UUID is not the same.

Delete or modify the MAC address of a cloned virtual machine

2. Empty the contents of the "/etc/udev/rules.d/70-persistent-net.rules" file or delete the file "Rm-f/etc/udev/rules.d/70-persistent-net.rules"

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

echo ">/etc/udev/rules.d/70-persistent-net.rules" >>/etc/rc.local

Cat/etc/rc.local

A problem with creating a cloned virtual machine in VMware CentOS causes the NIC device to fail to start

Related Article

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.