<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>Solution:</div>
<div><a href="http://www.ovirt.org/OVirt_Administration_Guide#Sealing_a_Linux_Virtual_Machine_for_Deployment_as_a_Template">http://www.ovirt.org/OVirt_Administration_Guide#Sealing_a_Linux_Virtual_Machine_for_Deployment_as_a_Template</a></div>
<div><br>
</div>
<div><br>
</div>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&lt;<a href="mailto:users-bounces@ovirt.org">users-bounces@ovirt.org</a>&gt; on behalf of Mark Steele &lt;<a href="mailto:msteele@telvue.com">msteele@telvue.com</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Friday 5 February 2016 at 15:07<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&quot; &lt;<a href="mailto:users@ovirt.org">users@ovirt.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[ovirt-users] Clone / New VM from Template changing network interfaces<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0)">
<div>oVirt Engine Version: 3.5.0.1-1.el6</div>
<div><br>
</div>
<div>When cloning or creating a new vm, the network interfaces in /etc/udev/rules.d/70-persistent-net.rules is getting changed - rendering the new new VM un-networkable.</div>
<div><br>
</div>
<div>The original file looks like this:</div>
<div><br>
</div>
<div style="font-family:arial,sans-serif;font-size:12.8px">
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:04.0/virtio1 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:04&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth1&quot;</font></div>
<div><font color="#000000" face="verdana,sans-serif"><br>
</font></div>
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:03.0/virtio0 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:03&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth0&quot;</font></div>
<div><font color="#000000" face="verdana,sans-serif"><br>
</font></div>
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:05.0/virtio2 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:05&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth2&quot;</font></div>
</div>
<div><br>
</div>
<div>However, once the VM is either cloned or a new VM created from a template of this source VM, the file looks like this:<br>
</div>
<div><br>
</div>
<div style="font-family:arial,sans-serif;font-size:12.8px">
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:04.0/virtio1 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:04&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth1&quot;</font></div>
<div><font color="#000000" face="verdana,sans-serif"><br>
</font></div>
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:03.0/virtio0 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:03&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth0&quot;</font></div>
<div><font color="#000000" face="verdana,sans-serif"><br>
</font></div>
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:05.0/virtio2 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:05&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth2&quot;</font></div>
<div><font color="#000000" face="verdana,sans-serif"><br>
</font></div>
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:04.0/virtio1 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:10&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth3&quot;</font></div>
<div><font color="#000000" face="verdana,sans-serif"><br>
</font></div>
<div><font color="#000000" face="verdana,sans-serif"># PCI device 0x1af4:/sys/devices/pci0000:00/0000:00:03.0/virtio1 (virtio-pci)</font></div>
<div><font color="#000000" face="verdana,sans-serif">SUBSYSTEM==&quot;net&quot;, ACTION==&quot;add&quot;, DRIVERS==&quot;?*&quot;, ATTR(address)==&quot;00:01:a4:a2:b4:0f&quot;, ATTR(dev_id)==&quot;0x0&quot;, ATTR(type)==&quot;1&quot;, KERNEL==&quot;eth*&quot;, NAME=&quot;eth5&quot;</font></div>
</div>
<div><br>
</div>
<div>The 'correct' interfaces are still there, but out of sequence and there are two additional interfaces that do not belong there.</div>
<div><br>
</div>
<div>Ovirt admin console is showing the correct number of interfaces as seen in this image:</div>
<div><br>
</div>
<div><img src="cid:ii_152ae66ca900856e" alt="Inline image 3" width="489" height="142" class="" tabindex="0"></div>
</div>
<div>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div><font color="#000000" face="verdana,sans-serif"><br>
</font></div>
<div><font color="#000000" face="verdana,sans-serif">***</font></div>
<div><b style="font-family:verdana,sans-serif;color:rgb(0,0,0)"><font size="2">Mark Steele</font></b><br>
</div>
<div><font face="verdana,sans-serif"><span style="color:rgb(0,0,0)">CIO / VP Technical Operations | TelVue Corporation</span></font></div>
<div><font face="verdana,sans-serif"><span style="font-size:x-small;color:rgb(0,0,0)">TelVue - We Share Your Vision</span></font></div>
<div><font face="verdana,sans-serif"><span style="font-size:x-small;color:rgb(0,0,0)"><span><span id="gc-number-8" class="" title="Call with Google Voice">800.885.8886</span> x128 |&nbsp;</span><a href="mailto:msteele@telvue.com" target="_blank">msteele@telvue.com</a>&nbsp;|&nbsp;</span><a href="http://www.telvue.com/" style="font-size:x-small" target="_blank">http://www.telvue.com</a></font></div>
<div><font face="verdana,sans-serif"><span style="font-size:x-small">twitter:&nbsp;</span><a href="http://twitter.com/telvue" style="font-size:x-small" target="_blank">http://twitter.com/telvue</a><span style="font-size:x-small">&nbsp;| facebook:&nbsp;</span><a href="https://www.facebook.com/telvue" style="font-size:x-small" target="_blank">https://www.facebook.com/telvue</a></font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</span>
</body>
</html>