[Users] set domain credentials to be used during sysprep joining an AD domain.

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?

This is a multi-part message in MIME format. --------------010504020107060907050007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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? > > > _______________________________________________ > 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 --------------010504020107060907050007 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit <html> <head> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#FFFFFF" text="#000000"> <div class="moz-cite-prefix">On 04/06/2014 08:57 PM, Jeff Clay wrote:<br> </div> <blockquote cite="mid:CACJOGMOnT6nnbvzqDqBOmj-8ZnnZi_kAnim=20_DtCX_qrvsyA@mail.gmail.com" type="cite"> <div dir="ltr">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?<br> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre wrap="">_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> * first configure you domain if not already done<br> <br> $ engine-manage-domains add --domain=DOMAIN --provider=activeDirectory --user=USER --add-permissions<br> <br> * 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<br> * then click Run-once (right click a vm from VMs tab) and go to Initial Run tab in the dialog.<br> * in the boot options make sure sysprep is set<br> <br> Thanks,<br> Roy <br> <br> <br> <br> </body> </html> --------------010504020107060907050007--

------=_Part_532627_31186699.1396858657994 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Roy is right, this will add the domain to the list of domains in the Initial Run section Please note that there is an open bug regarding this issue https://bugzilla.redhat.com/show_bug.cgi?id=1072414 ----- Original Message -----
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?
_______________________________________________
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
------=_Part_532627_31186699.1396858657994 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit <html><body><div style="font-family: times new roman, new york, times, serif; font-size: 10pt; color: #000000"><div>Roy is right, this will add the domain to the list of domains in the Initial Run section</div><div>Please note that there is an open bug regarding this issue</div><div>https://bugzilla.redhat.com/show_bug.cgi?id=1072414</div><br><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"> <div class="moz-cite-prefix">On 04/06/2014 08:57 PM, Jeff Clay wrote:<br> </div> <blockquote cite="mid:CACJOGMOnT6nnbvzqDqBOmj-8ZnnZi_kAnim=20_DtCX_qrvsyA@mail.gmail.com"> <div dir="ltr">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?<br> </div> <br> <fieldset class="mimeAttachmentHeader"></fieldset> <br> <pre>_______________________________________________ Users mailing list <a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a> <a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a> </pre> </blockquote> * first configure you domain if not already done<br> <br> $ engine-manage-domains add --domain=DOMAIN --provider=activeDirectory --user=USER --add-permissions<br> <br> * 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<br> * then click Run-once (right click a vm from VMs tab) and go to Initial 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>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><br></div></body></html> ------=_Part_532627_31186699.1396858657994--

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?
_______________________________________________ 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

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

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

On 04/07/2014 08:15 PM, Jeff Clay wrote:
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.
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)
On Mon, Apr 7, 2014 at 9:42 AM, Michal Skrivanek <michal.skrivanek@redhat.com <mailto:michal.skrivanek@redhat.com>> wrote:
On Apr 7, 2014, at 11:19 , Itamar Heim <iheim@redhat.com <mailto: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 <mailto: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 <mailto:Users@ovirt.org> >> http://lists.ovirt.org/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org> > http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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. On Mon, Apr 7, 2014 at 12:18 PM, Itamar Heim <iheim@redhat.com> wrote:
On 04/07/2014 08:15 PM, Jeff Clay wrote:
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.
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)
On Mon, Apr 7, 2014 at 9:42 AM, Michal Skrivanek <michal.skrivanek@redhat.com <mailto:michal.skrivanek@redhat.com>> wrote:
On Apr 7, 2014, at 11:19 , Itamar Heim <iheim@redhat.com <mailto: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 <mailto: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 <mailto:Users@ovirt.org>
>> http://lists.ovirt.org/mailman/listinfo/users >> > > _______________________________________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 04/07/2014 08:22 PM, Jeff Clay wrote:
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.
iirc, its AdUserName/Password I thought you can set these not via engine-manage-domains, but i could be wrong.
On Mon, Apr 7, 2014 at 12:18 PM, Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com>> wrote:
On 04/07/2014 08:15 PM, Jeff Clay wrote:
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.
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)
On Mon, Apr 7, 2014 at 9:42 AM, Michal Skrivanek <michal.skrivanek@redhat.com <mailto:michal.skrivanek@redhat.com> <mailto:michal.skrivanek@__redhat.com <mailto:michal.skrivanek@redhat.com>>> wrote:
On Apr 7, 2014, at 11:19 , Itamar Heim <iheim@redhat.com <mailto:iheim@redhat.com> <mailto:iheim@redhat.com <mailto: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 <mailto:Users@ovirt.org> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
>>> http://lists.ovirt.org/__mailman/listinfo/users <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 <mailto:Users@ovirt.org> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
>> http://lists.ovirt.org/__mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users> >> > > _________________________________________________ > Users mailing list > Users@ovirt.org <mailto:Users@ovirt.org> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>>
> http://lists.ovirt.org/__mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_________________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/__mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
participants (5)
-
Itamar Heim
-
Jeff Clay
-
Michal Skrivanek
-
Roy Golan
-
Shahar Havivi