VM Virtual Machine Linux clone post-card related operation!

Source: Internet
Author: User
Tags uuid

After cloning, the VMware virtual machine discovers that the original eth0 of the cloned host will be gone, instead there will be a new Mac Nic Eth1. This article solves how to reasonably change the NIC to eth0.


  1. Ifconfig eth1 determine the MAC address of the new network card.

    Nmcli con determine the UUID of the new NIC

  2. 2

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

    Delete the relevant information of the original eth0 and change the name of Eth1 to Eth0

  3. 3

    Cd/etc/sysconfig/network-scripts

    Vim Ifcfg-eth0


    Hwaddr= now the actual Mac

    Uuid= now the actual UUID

  4. 4

    Restart the virtual machine after the above processing is done!


VM Virtual Machine Linux clone post-card related operation!

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.