Nic does not start after VMware virtual machine clone

Source: Internet
Author: User

VMware workstation software is a very useful virtualization management tool under the window operating system, a software that our ops people like very much, we will install some of the system versions we need to operate, such as Centos,redhat,ubuntu.

Original blog from: www.51niux.com bo: Busy Firewood less

Here is a small tip not to say so much nonsense, my environment is the CentOS operating system, and then I do not want to frequent unattended installation too troublesome, I would like to add a new virtual host will use the Clone this function.

Then I have a new customer long a device, very fast, but the network card can not be started, will report an error:

Device eth0 does not seem to be present, delaying initialization

The reason is that you this new virtual machine is a passenger, the network card above the MAC address is the customer machine tools, so we want to generate a new belongs to our own MAC address. The operation is simple, three steps:

First step: Vi/etc/sysconfig/network-scripts/ifcfg-eth0

HWADDR=00:0C:29:9A:2E:C3 #将这一行删除掉 (I generally even uuid= "26598398-7fe0-4099-8b9d-7a161838ec7c" This line also deleted)

Step Two: Rm-rf/etc/udev/rules.d/70-persistent-net.rules #此文件绑定了网卡和mac地址

Step Three: Reboot #重启操作系统

At this point, the system restarts to restart the network card.

PS: (If your network card has not been started, look at the network card parameters Onboot=yes is not changed from No to Yes)

Original blog from: www.51niux.com bo: Busy Firewood less


This article from "Technology in the progress of sharing" blog, declined reprint!

Network adapter does not start problems after VMware virtual machine clone

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.