<div dir="ltr"><div>Hello Andre,</div><div><br></div>Windows machine boot fine and I am able to login.<div>Issue is with ip <span style="font-family:arial,sans-serif;font-size:13px">contextualization where the IP is different inside the VM and different in Sunstone.</span></div>
<div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">I followed Windows C</font><span style="font-family:arial,sans-serif;font-size:13px">ontextualization 4.8 documentation</span></div>
<div><font face="arial, sans-serif">-- Copied .vbs script to C: and </font><span style="color:rgb(53,55,53);font-family:Verdana,Geneva,sans-serif;font-size:13px;line-height:19.047618865966797px">enable it as a startup script.</span></div>
<div><font face="arial, sans-serif">-- I</font><span style="color:rgb(53,55,53);font-family:Verdana,Geneva,sans-serif;font-size:13px;line-height:19.047618865966797px">nclude context.ps1 into the CONTEXT files through Sunstone</span></div>
<div>-- rebooted the VM</div><div>-- After reboot it did not assign the ip that was displayed in sunstone.</div><div>-- Then I deleted .opennebula-context and rebooted again and it took correct Ip that was assigned in Sunstone.</div>
<div><br></div><div>-- However when I hot added another nic to the VM it did not assign the ip as it was in sunstone instead it took different ip from DHCP.</div><div>-- I delete the .opennebula-context file and rebooted it again but first nic got correct IP but the second nic did not.</div>
<div><br></div><div>Regards</div><div>Kiran Ranjane</div><div><div><br></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro <span dir="ltr"><<a href="mailto:andremonteiro@ua.pt" target="_blank">andremonteiro@ua.pt</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Kiran,</p>
<p> </p>
<p>Can you provide more details on the your problem? I need to know if the problem is the machine not booting, not starting windows or not executing the script.</p>
<p></p>
<div>
<div style="font-family:Tahoma;font-size:13px">
<p> </p>
<p>--</p>
<p>André Monteiro</p>
</div>
</div>
<div style="color:rgb(33,33,33)">
<hr style="width:98%;display:inline-block">
<div dir="ltr"><font color="#000000" face="Calibri, sans-serif" style="font-size:11pt"><b>De:</b> kiran ranjane <<a href="mailto:kiran.ranjane@gmail.com" target="_blank">kiran.ranjane@gmail.com</a>><br>
<b>Enviado:</b> 21 de agosto de 2014 15:55<br>
<b>Para:</b> Javier Fontan<br>
<b>Cc:</b> André Monteiro; Users OpenNebula<div><div class="h5"><br>
<b>Assunto:</b> Re: [one-users] OpenNebula Windows Server 2008 R2.</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">Hi Javier,
<div><br>
</div>
<div>I downloaded context from the latest 4.8 version documentation. I tried Linux version both .deb and .rmp on ubuntu and centos and they are working fine but having trouble with windows context.</div>
<div><br>
</div>
<div>Regards</div>
<div>Kiran Ranjane</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan <span dir="ltr">
<<a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
Which version of the context scripts are you using? I've been using<br>
the latest version from the documentation and work OK for me.<br>
<br>
<a href="http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html" target="_blank">http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html</a><br>
<div>
<div><br>
On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane <<a href="mailto:kiran.ranjane@gmail.com" target="_blank">kiran.ranjane@gmail.com</a>> wrote:<br>
> Hello Andre,<br>
><br>
> I am also facing the same issue while contextualization Windows 2008 R2<br>
> virtual machine. As said above, first time it does not work and I need to<br>
> delete .opennebula from c drive and then restart the VM and it works,<br>
> However if I add second nic interface it does not contextualize even after<br>
> deleting .opennebula and re-running the the vbs scripts.<br>
><br>
> Windows Version - Windows Server 2008 R2 Enterprise<br>
> WMI - 6.1.7600.16385<br>
> Powershell - 2.0<br>
><br>
> Regards<br>
> Kiran Ranjane<br>
><br>
><br>
> On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro <<a href="mailto:andremonteiro@ua.pt" target="_blank">andremonteiro@ua.pt</a>> wrote:<br>
>><br>
>> Hi Leszek,<br>
>><br>
>><br>
>><br>
>> Please send me details about your Windows version, Powershell and WMI, it<br>
>> may be a problem of versions. Executing the file on Powershell ISE returns<br>
>> any error?<br>
>><br>
>><br>
>><br>
>> --<br>
>><br>
>> André Monteiro<br>
>><br>
>> ________________________________<br>
>> De: Jaime Melis <<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>><br>
>> Enviado: terça-feira, 29 de Abril de 2014 10:45<br>
>> Para: Leszek Master<br>
>> Cc: Users OpenNebula; André Monteiro<br>
>> Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2.<br>
>><br>
>> Hi Leszek,<br>
>><br>
>> apologies with the delay. We've been busy with the release. Does the<br>
>> hostname change with a reboot?<br>
>><br>
>> Does anyone have expertise changing the windows hostname without a reboot<br>
>> from the powershell CLI? these ares the lines that change the hostname:<br>
>> <a href="https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134" target="_blank">
https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134</a><br>
>><br>
>> Adding Andé Monteiro, the original author of that line, to the<br>
>> conversation.<br>
>><br>
>> cheers,<br>
>> Jaime<br>
>><br>
>><br>
>> On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master <<a href="mailto:keksior@gmail.com" target="_blank">keksior@gmail.com</a>> wrote:<br>
>>><br>
>>> Also now i see that it do everything beside changing hostname. The<br>
>>> Hostname stays unchanged :(<br>
>>><br>
>>><br>
>>> 2014-04-23 16:07 GMT+02:00 Leszek Master <<a href="mailto:keksior@gmail.com" target="_blank">keksior@gmail.com</a>>:<br>
>>><br>
>>>> I've got "VM already contextualized" but if i delete .opennebula file<br>
>>>> from C: and rerun this, it works 100% good. So why it doesn't work in the<br>
>>>> first time? Any idea how to track this down?<br>
>>>><br>
>>>> Also how to delete the cd-rom permamently after contextualizing my VM?<br>
>>>><br>
>>>><br>
>>>> 2014-04-23 16:03 GMT+02:00 Jaime Melis <<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>>:<br>
>>>><br>
>>>>> Hi Leszek,<br>
>>>>><br>
>>>>> have you tried running the context.ps1 manually?<br>
>>>>><br>
>>>>> (inside the PowerShell terminal)<br>
>>>>> d:<br>
>>>>> Set-ExecutionPolicy unrestricted<br>
>>>>> Invoke-Expression context.ps1<br>
>>>>><br>
>>>>> what happens then?<br>
>>>>><br>
>>>>> cheers,<br>
>>>>> Jaime<br>
>>>>><br>
>>>>><br>
>>>>> On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master <<a href="mailto:keksior@gmail.com" target="_blank">keksior@gmail.com</a>><br>
>>>>> wrote:<br>
>>>>>><br>
>>>>>> It doesn't contextualize it for me - only the RDP enable working.<br>
>>>>>><br>
>>>>>> Also i would like to know how to deattach permamently context cd-rom<br>
>>>>>> from a VM, there is my CONTEXT variables i don't want to be seen by<br>
>>>>>> end-user. Is there any way to do that?<br>
>>>>>><br>
>>>>>><br>
>>>>>> 2014-04-22 10:34 GMT+02:00 Jaime Melis <<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>>:<br>
>>>>>>><br>
>>>>>>> Hi Leszek,<br>
>>>>>>><br>
>>>>>>> in case you haven't seen this:<br>
>>>>>>> <a href="http://opennebula.org/windows-contextualization/" target="_blank">
http://opennebula.org/windows-contextualization/</a><br>
>>>>>>><br>
>>>>>>> cheers,<br>
>>>>>>> Jaime<br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis <<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a>><br>
>>>>>>> wrote:<br>
>>>>>>>><br>
>>>>>>>> Hi Leszek,<br>
>>>>>>>><br>
>>>>>>>> we are currently working on a contextualization guide for Windows.<br>
>>>>>>>> We will probably release it next week.<br>
>>>>>>>><br>
>>>>>>>> Regards,<br>
>>>>>>>> Jaime<br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master <<a href="mailto:keksior@gmail.com" target="_blank">keksior@gmail.com</a>><br>
>>>>>>>> wrote:<br>
>>>>>>>>><br>
>>>>>>>>> I've got problem with running Windows Server 2008 R2 VM's in<br>
>>>>>>>>> OpenNebula. It doesn't get contexted. I tryied to use manual:<br>
>>>>>>>>> <a href="http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines" target="_blank">
http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines</a><br>
>>>>>>>>> but it doesn't work in my environment. The scripts is on context cd but the<br>
>>>>>>>>> VM doesn;t get the ip, hostname and user account. Can anyone help me get<br>
>>>>>>>>> this working?<br>
>>>>>>>>><br>
>>>>>>>>> _______________________________________________<br>
>>>>>>>>> Users mailing list<br>
>>>>>>>>> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
>>>>>>>>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>>>>>>>>><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>><br>
>>>>>>>> --<br>
>>>>>>>> Jaime Melis<br>
>>>>>>>> Project Engineer<br>
>>>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple<br>
>>>>>>>> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> |
<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>><br>
>>>>>>> --<br>
>>>>>>> Jaime Melis<br>
>>>>>>> Project Engineer<br>
>>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple<br>
>>>>>>> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> |
<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>
>>>>>><br>
>>>>>><br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> Users mailing list<br>
>>>>>> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
>>>>>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Jaime Melis<br>
>>>>> Project Engineer<br>
>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple<br>
>>>>> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> |
<a href="mailto:jmelis@opennebula.org" target="_blank">jmelis@opennebula.org</a><br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Users mailing list<br>
>>> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
>>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Jaime Melis<br>
>> Project Engineer<br>
>> OpenNebula - Flexible Enterprise Cloud Made Simple<br>
>> <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:jmelis@opennebula.org" target="_blank">
jmelis@opennebula.org</a><br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
<br>
<br>
<br>
--<br>
</div>
</div>
Javier Fontán Muiños<br>
Developer<br>
<div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
</div>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @OpenNebula |
<a href="http://github.com/jfontan" target="_blank">github.com/jfontan</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br></div>