Error after starting Linux network after deploying OVF template in Vsphere Client

Source: Internet
Author: User
Tags linux

Problem background:

After you deploy the OVF template in vsphere client, you are prompted to start Linux network: Device eth0 does not seem to be present, delaying initialization

The device eth0 is not ready to delay initialization as shown in the figure:

The problem is that the MAC address in the exported OVF template is the source system's Mac (configuration file is the configuration file for the source system (the system that exports the OVF template), and the system MAC address after the OVF deployment has changed, causing initialization to fail with the following workaround:

1,

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

Ifcfg-eth0 the previous MAC address in the configuration file, remove the line from the Reboot network card

2,

Reboot the machine after/etc/udev/rules.d/70-persistent-net.rules

Because this file is bound to the NIC and MAC address, so changed the NIC after the MAC address changed, so it can not start normally, or directly edit the configuration file to the inside of the network card and MAC address modified by the corresponding, but so much trouble, direct delete reboot, it will automatically generate a.

More Wonderful content: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

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.