Cloning VM in VMWare Server

  • cp -r oldDir NewDir
  • Replace HD filename

  • Replace all occurences in .vmx , .vmdk (and maybe .vmxf)

  • Just say VM is copied and it will change uuids and mac address (use uuidgen to generate unique IDs if needed)
  • Update /etc/resolv.conf

Ubuntu Networking:

Change /etc/hosts, /etc/hostnane, /etc/network/interface as needed

RedHat Variants

  • You can also try to run command system-config-network-tui
  • Update /etc/sysconfig/network-scripts/ifcfg-eth0 , /etc/hosts

  • Restart Networking /etc/init.d/network restart