Our virtualization environment runs on ESX 4 and Vcenter 4, which means that it is not possible to customize 64bit Linux distros or at least Red Hat distros, following cloning. This is annoying as CentOS does not seem to be able to pick up the new NICs in a clone, even after the ifcfg files have been edited to amend the new MAC addresses.
It turns out there is a very easy solution to this problem:
rm -f /etc/udev/rules.d/70-persistent-net.rules; init 6
This will delete the file containing NIC information and rescan after a reboot.
Do note that the second time I tried this, it created new NIC names, i.e. eth4,eth5 and eth6 for my multiple nic clone.
If you encounter this issue, you could edit the file /etc/udev/rules.d/70-persistent-net.rules or rename the ifcfg files, either should work.
Hopefully, we will move to ESXi 5 soon.
No comments:
Post a Comment