Ok, I see those options now in the RunOnce menu.The problem is that I won't be using RunOnce. I need the systems to do sysprep and join the domain when the pool creates them as new. I'm hoping to automate this process when new VM's are created so that I don't have to work on each VM when I create it, that would take some time when creating 30 new vm's in a pool.


On Mon, Apr 7, 2014 at 9:42 AM, Michal Skrivanek <michal.skrivanek@redhat.com> wrote:

On Apr 7, 2014, at 11:19 , Itamar Heim <iheim@redhat.com> wrote:

> On 04/07/2014 08:47 AM, Roy Golan wrote:
>> On 04/06/2014 08:57 PM, Jeff Clay wrote:
>>> i'm having trouble finding how set the domain user credentials used
>>> when joing a computer to an AD domain using sysprep. i've found where
>>> ovirt stores the windows product keys, and the settings in
>>> engine-config, but i don't see anything about the domain user
>>> credentials. Do I need to replace the domain user variables in
>>> sysprep.w7 and statically set them to what I need?
>
> I'm pretty sure we are not supposed to be limiting the domains a VM can join to the domains a user can authenticate to?

 the dropdown field is editable so one can enter any custom domain
then it gets replaced in the system's sysprep template.

the same goes for user credentials - tehre's the Alternate Credentials checkbox…does it not work?

BTW note in 3.4 you would be able to use a custom sysprep file (with existing variables substitution)

Thanks,
michal

>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>> * first configure you domain if not already done
>>
>>  $ engine-manage-domains add --domain=DOMAIN --provider=activeDirectory
>> --user=USER  --add-permissions
>>
>> * make sure your vm Os Type is set to  Windows 7 (or whatever type your
>> installing)  - Edit the Vm and see the drop-down at the first dialog screen
>> * then click Run-once (right click a vm from VMs tab) and go to Initial
>> Run tab in the dialog.
>> * in the boot options make sure sysprep is set
>>
>> Thanks,
>> Roy
>>
>>
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users