<div dir="ltr">Are you referring to SysPrepDefaultUser: "Default SysPrep user name" (Value Type: String) and SysPrepDefaultPassword: "Default SysPrep user password" (Value Type: Password) ? I thought those values were used for creating the initial user on the system.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 7, 2014 at 12:18 PM, Itamar Heim <span dir="ltr"><<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On 04/07/2014 08:15 PM, Jeff Clay wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ok, I see those options now in the RunOnce menu.The problem is that I<br>
won't be using RunOnce. I need the systems to do sysprep and join the<br>
domain when the pool creates them as new. I'm hoping to automate this<br>
process when new VM's are created so that I don't have to work on each<br>
VM when I create it, that would take some time when creating 30 new vm's<br>
in a pool.<br>
</blockquote>
<br></div>
this should work with pools as well. you just need to pre-add the domain (via enigne-manage-domains) and configure the user/password with credentials to add the computer to the domain (via engine-config)<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
<br>
<br>
On Mon, Apr 7, 2014 at 9:42 AM, Michal Skrivanek<br></div><div class="">
<<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@redhat.com</a> <mailto:<a href="mailto:michal.skrivanek@redhat.com" target="_blank">michal.skrivanek@<u></u>redhat.com</a>>> wrote:<br>
<br>
<br>
On Apr 7, 2014, at 11:19 , Itamar Heim <<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a><br></div><div class="">
<mailto:<a href="mailto:iheim@redhat.com" target="_blank">iheim@redhat.com</a>>> wrote:<br>
<br>
> On 04/07/2014 08:47 AM, Roy Golan wrote:<br>
>> On 04/06/2014 08:57 PM, Jeff Clay wrote:<br>
>>> i'm having trouble finding how set the domain user credentials used<br>
>>> when joing a computer to an AD domain using sysprep. i've found<br>
where<br>
>>> ovirt stores the windows product keys, and the settings in<br>
>>> engine-config, but i don't see anything about the domain user<br>
>>> credentials. Do I need to replace the domain user variables in<br>
>>> sysprep.w7 and statically set them to what I need?<br>
><br>
> I'm pretty sure we are not supposed to be limiting the domains a<br>
VM can join to the domains a user can authenticate to?<br>
<br>
the dropdown field is editable so one can enter any custom domain<br>
then it gets replaced in the system's sysprep template.<br>
<br>
the same goes for user credentials - tehre's the Alternate<br>
Credentials checkbox…does it not work?<br>
<br>
BTW note in 3.4 you would be able to use a custom sysprep file (with<br>
existing variables substitution)<br>
<br>
Thanks,<br>
michal<br>
<br>
><br>
>>><br>
>>><br>
>>> ______________________________<u></u>_________________<br>
>>> Users mailing list<br></div>
>>> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><div class=""><br>
>>> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
>> * first configure you domain if not already done<br>
>><br>
>> $ engine-manage-domains add --domain=DOMAIN<br>
--provider=activeDirectory<br>
>> --user=USER --add-permissions<br>
>><br>
>> * make sure your vm Os Type is set to Windows 7 (or whatever<br>
type your<br>
>> installing) - Edit the Vm and see the drop-down at the first<br>
dialog screen<br>
>> * then click Run-once (right click a vm from VMs tab) and go to<br>
Initial<br>
>> Run tab in the dialog.<br>
>> * in the boot options make sure sysprep is set<br>
>><br>
>> Thanks,<br>
>> Roy<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> ______________________________<u></u>_________________<br>
>> Users mailing list<br></div>
>> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><div class=""><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
>><br>
><br>
> ______________________________<u></u>_________________<br>
> Users mailing list<br></div>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <mailto:<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a>><div class=""><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/<u></u>mailman/listinfo/users</a><br>
<br>
</div></blockquote>
<br>
</blockquote></div><br></div>