slariviere / fix-cloned-network-interface

Replace the MAC address into a cloned VM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix-cloned-network-interface

Replace the MAC address into a cloned VM in the /etc/udev/rules.d/70-persistent-net.rules and /etc/sysconfig/network-scripts/ifcfg-eth0.

This will reboot the system autimaticaly after the change is done.

Only works if the interface is eth0 and it's the only interface on the system.

Tested on centos 6.x

This is a quick fix for this issue, use at your own risk.

About

Replace the MAC address into a cloned VM


Languages

Language:Shell 100.0%