[ovirt-users] How to join Windows guest to AD domain via Sysprep?
Ondra Machacek
omachace at redhat.com
Fri Dec 16 13:14:00 UTC 2016
On Fri, Dec 16, 2016 at 1:40 PM, Danny Rehelis <autogun at gmail.com> wrote:
> Adding users at ovirt.
>
> On Sun, Dec 11, 2016 at 10:42 PM, Danny Rehelis <autogun at gmail.com> wrote:
>>
>> I'm simply using the GUI,
>>
>> First, I created a vanilla windows 2012 VM which I sealed, sysprep'ed and
>> shutdown.
>> Made a template of this VM which I later try to deploy.
>>
>> Insert VM name
>> Initial Run - [v] Use Cloud-Init/Sysprep
>> Set the same VM name to be VM Hostname
>> Populate Domain field with my domain name, same goes for Organization
>> Name, Organization Name fields.
>> Configure Admin Password.
>>
>> That's about it, when I deploy the VM, hostname & password I've inserted
>> in Cloud-Init/Sysprep are getting set but guest os is not joining the
>> domain.
>>
>> I wonder where do I set credentials allowing OS to be domain joined?
>> Is it inherits the user I've used to login to oVirt engine?
I am not sysprep/windows expert, but from what I know:
The default username/password to join the domain is here:
$ bin/engine-config -a | grep -i SysPrepDefault
SysPrepDefaultUser: version: general
SysPrepDefaultPassword: Empty version: general
But you can override in the sysprep, there is 'Alternate credetntials' checkbox,
and then you can override it.
Also be very carefull what you specify in OU, it MUST be correct RDN,
so I would try first without it and then if it works with it.
But if you are sure you did everything right, then please open bug at
bugzilla.redhat.com.
Thank you,
>>
>> Thanks
>>
>>
>> On Sun, Dec 11, 2016 at 1:42 PM, Ondra Machacek <omachace at redhat.com>
>> wrote:
>>>
>>> Can you please post us, which parameters exactly you filled in?
>>> Maybe print screen or if you are using REST API so which command you use.
>>>
>>> Also can you please ensure you're windows machine is correctly joined in
>>> the AD.
>>> You should also check the log and see if the parameters are indeed send
>>> in the log,
>>> also check the event log in the windows if user will at least try to
>>> login.
>>> If not, then it's most probably a bug, so please open it here:
>>> https://bugzilla.redhat.com/enter_bug.cgi?product=ovirt-engine
>>>
>>>
>>> On Fri, Dec 9, 2016 at 9:15 PM, Danny Rehelis <autogun at gmail.com> wrote:
>>>>
>>>> Any input on this one?
>>>>
>>>>
>>>> On Sat, Dec 3, 2016 at 10:56 PM, Danny Rehelis <autogun at gmail.com>
>>>> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> I can't seems to fully understand the procedure of joining guest
>>>>> Windows machine to AD domain using the tool-set provided by oVirt-Engine.
>>>>> I've successfully created and sealed a template.of Windows 2012R2, I
>>>>> manage to change the Administrator's password and machine's hostname only.
>>>>>
>>>>> Nothing actually happens when I fill Domain and Organization Unit
>>>>> fields under Initial Run tab.
>>>>> What credentials should be used to join the domain? Where do I
>>>>> configure them?
>>>>>
>>>>> Running oVirt 4.0.5
>>>>>
>>>>> Thanks,
>>>>> --
>>>>> Danny Rehelis - autogun [AT] gmail.com
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Danny Rehelis - autogun [AT] gmail.com
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at ovirt.org
>>>> http://lists.phx.ovirt.org/mailman/listinfo/users
>>>>
>>>
>>
>>
>>
>> --
>> Danny Rehelis - autogun [AT] gmail.com
>
>
>
>
> --
> Danny Rehelis - autogun [AT] gmail.com
More information about the Users
mailing list