Description of problem: Run once a VM created from windows 2008 R2 sealed template, On the run once dialog, in sysprep field, paste sysprep.ini, with actual value for computer name, also set time zone field to "Tonga". Inside the guest, looking at the floppy content, the Unattend.xml indeed contain same content, as put in the sysprep field, but the value seem to not implemented in the guest (computer name seems as if it comes from windows installation, as well as the time zone). Version-Release number of selected component (if applicable): rhevm 3.6.2-10 Additional info: Template sealing was done following the rhev Virtual_Machine_Management_Guide. Also same flow was done for windows 2008, and in that case the values of time zone & computer name were implemented in the guest.
Shahar, isn't it the same issue we hit recently?
(In reply to Michal Skrivanek from comment #3) > Shahar, isn't it the same issue we hit recently? Indeed, this is the case when the Windows is not sealed correctly.
Retested, and it seems to be working: Run once a sealed windows 2008 R2,with Floppy sysprep attached, and these Initial run parameters: 1. VM Hostname: A 2. Time zone: Fiji Standard Time 3. Admin password: A 4. sysprep field, paste template /usr/share/ovirt-engine/conf/sysprep/sysprep.2k8x64 <Value><![CDATA[$AdminPassword$]]></Value> => <Value><![CDATA[B]]></Value> <ComputerName><![CDATA[$ComputerName$]]></ComputerName> => <ComputerName><![CDATA[B]]></ComputerName> VM comes up with: - AdminPassword 'B' - OK - Time zone: 'Fiji Standard Time' - OK - Computer Name: 'B', as expected. Note that the computer Name parameter will be implemented, only on the first time. that is if I'll run sysprep again, on this same VM, the computer Name parameter will not be implemented by windows, though this value appear in the attached unattend xml. Further to this test, closing the bug.