<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><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;"><b>From: </b>"bigclouds" &lt;bigclouds@163.com&gt;<br><b>To: </b>"Omer Frenkel" &lt;ofrenkel@redhat.com&gt;<br><b>Cc: </b>"engine-devel" &lt;engine-devel@ovirt.org&gt;<br><b>Sent: </b>Thursday, August 8, 2013 1:12:29 PM<br><b>Subject: </b>Re:Re: [Engine-devel] does now engine support join vm to AD<br><div><br></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">thanks, is it the best way? if is it possiable to add windows vm to domain automaticly without a reboot?<br>look at my thought. if&nbsp; can make it true.<br>1.before start vm, inject domain infomations into guest-image(libguestfs), the another side ,it is DC(domain controller), we create&nbsp; <span size="-1">matching info(i do not know exactly what is that info, ad exchange with a host),<br>when start vm, it joins domain automaticly, user can login using domain account.<br><div><br></div>why it is </span><span size="-1">realizable, because even you use sysprep, a reboot is needed, so they can connect </span>seamless if they are prepared corrently?<br><div><br></div>i have try, but failed, i did not know how to prepare DC info.<br>thanks<br><div><br></div></div></blockquote><div>i don't know much about using libguestfs to manipulate a running vm, and if it works.<br></div><div>afair, when adding windows machine to a domain (from within windows), windows requires reboot so...<br></div><div>i might be wrong here.<br></div><div><br></div><div>so for your question, not sure its the best way, but this is what i know.<br></div><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 style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div><br></div><br><div><br></div><br>At 2013-08-08 13:57:57,"Omer&nbsp;Frenkel"&nbsp;&lt;ofrenkel@redhat.com&gt; wrote:<br><blockquote id="isReplyCon!
 tent" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><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;"><b>From: </b>"bigclouds" &lt;<a href="mailto:bigclouds@163.com" target="_blank">bigclouds@163.com</a>&gt;<br><b>To: </b>"engine-devel" &lt;<a href="mailto:engine-devel@ovirt.org" target="_blank">engine-devel@ovirt.org</a>&gt;<br><b>Sent: </b>Thursday, August 8, 2013 3:36:35 AM<br><b>Subject: </b>[Engine-devel] does now engine support join vm to AD<br><div><br></div><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">&nbsp;hi,all<br>does now engine support join vm to AD?<br>on UI there is a configuration option for windows domain, how to use it?<br></div></blockquote><div>when creating template with windows os, y!
 ou need to 'seal' it somehow for sysprep,<br></div><div>then you need to set the domain when creating vm from the template<br></div><div>(also you can set the windows domain on the template to be set by default to vms created for it)<br></div><div>and when you run the vm for the first time, the windows sysprep takes place and the domain should be set there.<br></div><div>make sure to select the right os on the template/vm since the sysprep is different between windows versions.<br></div><div><br></div><div>for linux im not sure, it might be possible with cloud init, with user-scripts, once we have this option (currently not implemented)<br></div><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 style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">thanks.<br></div><br><div><br></div><br>___________!
 ____________________________________<br>Engine-devel mailing list<br><a href="mailto:Engine-devel@ovirt.org" target="_blank">Engine-devel@ovirt.org</a><br>http://lists.ovirt.org/mailman/listinfo/engine-devel<br></blockquote><div><br></div></div></blockquote></div><br><div><br></div></blockquote><div><br></div></div></body></html>