Hello Andre, I am also facing the same issue while contextualization Windows 2008 R2 virtual machine. As said above, first time it does not work and I need to delete .opennebula from c drive and then restart the VM and it works, However if I add second nic interface it does not contextualize even after deleting .opennebula and re-running the the vbs scripts.
Windows Version - Windows Server 2008 R2 Enterprise WMI - 6.1.7600.16385 Powershell - 2.0 Regards Kiran Ranjane On Tue, Apr 29, 2014 at 4:19 PM, André Monteiro <[email protected]> wrote: > Hi Leszek, > > > > Please send me details about your Windows version, Powershell and WMI, it > may be a problem of versions. Executing the file on Powershell ISE returns > any error? > > > > -- > > André Monteiro > ------------------------------ > *De:* Jaime Melis <[email protected]> > *Enviado:* terça-feira, 29 de Abril de 2014 10:45 > *Para:* Leszek Master > *Cc:* Users OpenNebula; André Monteiro > *Assunto:* Re: [one-users] OpenNebula Windows Server 2008 R2. > > Hi Leszek, > > apologies with the delay. We've been busy with the release. Does the > hostname change with a reboot? > > Does anyone have expertise changing the windows hostname without a > reboot from the powershell CLI? these ares the lines that change the > hostname: > https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134 > > Adding Andé Monteiro, the original author of that line, to the > conversation. > > cheers, > Jaime > > > On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master <[email protected]> wrote: > >> Also now i see that it do everything beside changing hostname. The >> Hostname stays unchanged :( >> >> >> 2014-04-23 16:07 GMT+02:00 Leszek Master <[email protected]>: >> >> I've got "VM already contextualized" but if i delete .opennebula file >>> from C: and rerun this, it works 100% good. So why it doesn't work in the >>> first time? Any idea how to track this down? >>> >>> Also how to delete the cd-rom permamently after contextualizing my VM? >>> >>> >>> 2014-04-23 16:03 GMT+02:00 Jaime Melis <[email protected]>: >>> >>> Hi Leszek, >>>> >>>> have you tried running the context.ps1 manually? >>>> >>>> (inside the PowerShell terminal) >>>> d: >>>> Set-ExecutionPolicy unrestricted >>>> Invoke-Expression context.ps1 >>>> >>>> what happens then? >>>> >>>> cheers, >>>> Jaime >>>> >>>> >>>> On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master <[email protected]> >>>> wrote: >>>> >>>>> It doesn't contextualize it for me - only the RDP enable working. >>>>> >>>>> Also i would like to know how to deattach permamently context cd-rom >>>>> from a VM, there is my CONTEXT variables i don't want to be seen by >>>>> end-user. Is there any way to do that? >>>>> >>>>> >>>>> 2014-04-22 10:34 GMT+02:00 Jaime Melis <[email protected]>: >>>>> >>>>>> Hi Leszek, >>>>>> >>>>>> in case you haven't seen this: >>>>>> http://opennebula.org/windows-contextualization/ >>>>>> >>>>>> cheers, >>>>>> Jaime >>>>>> >>>>>> >>>>>> On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi Leszek, >>>>>>> >>>>>>> we are currently working on a contextualization guide for >>>>>>> Windows. We will probably release it next week. >>>>>>> >>>>>>> Regards, >>>>>>> Jaime >>>>>>> >>>>>>> >>>>>>> On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master <[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>>> I've got problem with running Windows Server 2008 R2 VM's in >>>>>>>> OpenNebula. It doesn't get contexted. I tryied to use manual: >>>>>>>> http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines >>>>>>>> but it doesn't work in my environment. The scripts is on context cd >>>>>>>> but the >>>>>>>> VM doesn;t get the ip, hostname and user account. Can anyone help me >>>>>>>> get >>>>>>>> this working? >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Users mailing list >>>>>>>> [email protected] >>>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Jaime Melis >>>>>>> Project Engineer >>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple >>>>>>> www.OpenNebula.org | [email protected] >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Jaime Melis >>>>>> Project Engineer >>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple >>>>>> www.OpenNebula.org | [email protected] >>>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Users mailing list >>>>> [email protected] >>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >>>>> >>>>> >>>> >>>> >>>> -- >>>> Jaime Melis >>>> Project Engineer >>>> OpenNebula - Flexible Enterprise Cloud Made Simple >>>> www.OpenNebula.org | [email protected] >>>> >>> >>> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >> > > > -- > Jaime Melis > Project Engineer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | [email protected] > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
