Skip to main content
  1. Posts/

SLES 11/11sp1 Cloning or Deploy from Template Network Interface Fix

·140 words·1 min· loading · loading · ·
Howto SLES VSphere

So we have all seen the wonderful cloning or deploying from template of a SLES VM and suddenly the network interface changes to eth1 and you have no network connectivity.  This is in part due to the use of udev and persistent naming.  As of SLES 11, the FORCE_PERSISTENT_NAMES option has been removed.  Here are the steps to a work-around for this to enable happy cloning and deployment from a SLES template:

  1. Convert your template VM back to a normal VM.
  2. Boot your VM and login.
  3. cp /etc/udev/rules.d/70-persistent-net.rules /root/.
  4. rm /etc/udev/rules.d/70-persistent-net.rules
  5. Shutdown the VM.
  6. Convert back to a template.

Once you do this, every time you deploy from your template a new 70-persistent-net.rules file will be generated with the new MAC address of the virtualized interface.

For reference, you can look at VMware KB Article 1021624 for information regarding this.

James Bowling
Author
James Bowling
Principal Cloud Engineer @ Global Oil/Gas Drilling Company

Related

SLES for VMware and VMware Tools
·115 words·1 min· loading · loading
Howto Linux SLES Vmware VSphere
ESXi 5.0 and APC SmartUPS 1000
·1057 words·5 mins· loading · loading
Howto Scripts Tools ESXi VCLI VMA
vSphere 5 Available to Download Now
·93 words·1 min· loading · loading
Blog ESXi VCenter Vmware VShield VSphere