<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:x-small"><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 4, 2016 at 10:39 PM, Yaniv Kaul <span dir="ltr">&lt;<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><span class=""><div><br><div class="gmail_extra"><br><div class="gmail_quote">On Dec 4, 2016 8:50 PM, &quot;Shmuel Melamud&quot; &lt;<a href="mailto:smelamud@redhat.com" target="_blank">smelamud@redhat.com</a>&gt; wrote:<br type="attribution"><blockquote class="m_-7282233544101988070quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div style="font-family:monospace,monospace;font-size:x-small">Hi!<br><br></div><div style="font-family:monospace,monospace;font-size:x-small">I&#39;m currently working on integration of virt-sysprep into oVirt.<br><br></div><div style="font-family:monospace,monospace;font-size:x-small">Usually, if user creates a template from a regular VM, and then creates new VMs from this template, these new VMs inherit all configuration of the original VM, including SSH keys, UDEV rules, MAC addresses, system ID, hostname etc. It is unfortunate, because you cannot have two network devices with the same MAC address in the same network, for example.<br><br></div><div style="font-family:monospace,monospace;font-size:x-small">To avoid this, user must clean all machine-specific configuration from the original VM before creating a template from it. You can do this manually, but there is virt-sysprep utility that does this automatically.<br><br>Ideally, virt-sysprep should be seamlessly integrated into template creation process. But the first step is to create a simple button: user selects a VM, clicks the button and oVirt executes virt-sysprep on the VM.<br></div></div></blockquote></div></div></div><div dir="auto"><br></div></span><div dir="auto">User selects a VM or a template disk? </div><span class=""></span></div></blockquote><div><br><div style="font-family:monospace,monospace;font-size:x-small" class="gmail_default">​A VM. It is not safe to modify template disks. We cannot guarantee that there are no VMs based on this template, because some of them may reside on a detached storage.​</div> <br></div></div><div style="font-family:monospace,monospace;font-size:x-small" class="gmail_default">​Shmuel​</div><br></div></div>