[Users] set domain credentials to be used during sysprep joining an AD domain.
Itamar Heim
iheim at redhat.com
Mon Apr 7 17:30:40 UTC 2014
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 at redhat.com
> <mailto:iheim at 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 at redhat.com
> <mailto:michal.skrivanek at redhat.com>
> <mailto:michal.skrivanek at __redhat.com
> <mailto:michal.skrivanek at redhat.com>>> wrote:
>
>
> On Apr 7, 2014, at 11:19 , Itamar Heim <iheim at redhat.com
> <mailto:iheim at redhat.com>
> <mailto:iheim at redhat.com <mailto:iheim at 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 at ovirt.org <mailto:Users at ovirt.org>
> <mailto:Users at ovirt.org <mailto:Users at 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 at ovirt.org <mailto:Users at ovirt.org>
> <mailto:Users at ovirt.org <mailto:Users at ovirt.org>>
>
> >> http://lists.ovirt.org/__mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
> >>
> >
> > _________________________________________________
> > Users mailing list
> > Users at ovirt.org <mailto:Users at ovirt.org>
> <mailto:Users at ovirt.org <mailto:Users at ovirt.org>>
>
> > http://lists.ovirt.org/__mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
>
>
>
>
> _________________________________________________
> Users mailing list
> Users at ovirt.org <mailto:Users at ovirt.org>
> http://lists.ovirt.org/__mailman/listinfo/users
> <http://lists.ovirt.org/mailman/listinfo/users>
>
>
>
More information about the Users
mailing list