Tuesday 14 August 2012

Cloning Linux VMs


The mac address in the system is tied to eth0, so we need to remove the mapping as when we clone the VM a new mac is generated.

  • Edit /etc/udev/rules.d/70-persistent-net.rules to eth0 and correct MAC
  • Reboot
  • vi /etc/sysconfig/network-scripts/ifcfg-eth*
    • onboot=yes
    • NM_CONTROLLED=no
    • BOOTPROTO=static
    • IP address etc
  • rename ifcfg-eth* to eth0 and ensure mac matches VMWare hardware ID and also the mac in persistent-net.rules

No comments:

Post a Comment