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

2014-04-07 Thread Shahar Havivi
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
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-07 Thread Itamar Heim

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



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-07 Thread Jeff Clay
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.skriva...@redhat.com wrote:


 On Apr 7, 2014, at 11:19 , Itamar Heim ih...@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


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-07 Thread Itamar Heim

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.skriva...@redhat.com mailto:michal.skriva...@redhat.com wrote:


On Apr 7, 2014, at 11:19 , Itamar Heim ih...@redhat.com
mailto:ih...@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



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-07 Thread Jeff Clay
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 ih...@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.skriva...@redhat.com mailto:michal.skriva...@redhat.com wrote:


 On Apr 7, 2014, at 11:19 , Itamar Heim ih...@redhat.com
 mailto:ih...@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



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-04-07 Thread Itamar Heim

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 ih...@redhat.com
mailto:ih...@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.skriva...@redhat.com
mailto:michal.skriva...@redhat.com
mailto:michal.skrivanek@__redhat.com
mailto:michal.skriva...@redhat.com wrote:


 On Apr 7, 2014, at 11:19 , Itamar Heim ih...@redhat.com
mailto:ih...@redhat.com
 mailto:ih...@redhat.com mailto:ih...@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






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

2014-04-06 Thread Jeff Clay
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


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

2014-04-06 Thread Roy Golan

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