If that's the case then this should be added to documentation as a Note I will try it and get back to you on this.
Thanks for your help. Regards Kiran Ranjane On Thu, Aug 21, 2014 at 10:25 PM, André Monteiro <andremonte...@ua.pt> wrote: > Absolutely true, that is the way we implemented to avoid script > execution on every boot! > > > > -- > > André Monteiro > ------------------------------ > *De:* kiran ranjane <kiran.ranj...@gmail.com> > *Enviado:* 21 de agosto de 2014 17:53 > > *Para:* Javier Fontan > *Cc:* André Monteiro; Users OpenNebula > *Assunto:* Re: [one-users] OpenNebula Windows Server 2008 R2. > > Okay, so you mean to say that once the script is copied and executed, I > need to remove context.ps1 from context cd? > > > > On Thu, Aug 21, 2014 at 10:06 PM, Javier Fontan <jfon...@opennebula.org> > wrote: > >> You have to take into account that the context CD is not regenerated >> after the VM is created so attached nics can not be automatically >> configured. >> >> On Thu, Aug 21, 2014 at 6:17 PM, kiran ranjane <kiran.ranj...@gmail.com> >> wrote: >> > Hello Andre, >> > >> > Windows machine boot fine and I am able to login. >> > Issue is with ip contextualization where the IP is different inside the >> VM >> > and different in Sunstone. >> > >> > I followed Windows Contextualization 4.8 documentation >> > -- Copied .vbs script to C: and enable it as a startup script. >> > -- Include context.ps1 into the CONTEXT files through Sunstone >> > -- rebooted the VM >> > -- After reboot it did not assign the ip that was displayed in sunstone. >> > -- Then I deleted .opennebula-context and rebooted again and it took >> correct >> > Ip that was assigned in Sunstone. >> > >> > -- 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. >> > -- I delete the .opennebula-context file and rebooted it again but >> first nic >> > got correct IP but the second nic did not. >> > >> > Regards >> > Kiran Ranjane >> > >> > >> > >> > >> > On Thu, Aug 21, 2014 at 8:56 PM, André Monteiro <andremonte...@ua.pt> >> wrote: >> >> >> >> Hi Kiran, >> >> >> >> >> >> >> >> 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. >> >> >> >> >> >> >> >> -- >> >> >> >> André Monteiro >> >> >> >> ________________________________ >> >> De: kiran ranjane <kiran.ranj...@gmail.com> >> >> Enviado: 21 de agosto de 2014 15:55 >> >> Para: Javier Fontan >> >> Cc: André Monteiro; Users OpenNebula >> >> >> >> Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2. >> >> >> >> Hi Javier, >> >> >> >> 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. >> >> >> >> Regards >> >> Kiran Ranjane >> >> >> >> >> >> On Thu, Aug 21, 2014 at 7:19 PM, Javier Fontan <jfon...@opennebula.org >> > >> >> wrote: >> >>> >> >>> Which version of the context scripts are you using? I've been using >> >>> the latest version from the documentation and work OK for me. >> >>> >> >>> >> >>> >> http://docs.opennebula.org/4.8/user/virtual_machine_setup/windows_context.html >> >>> >> >>> On Thu, Aug 21, 2014 at 3:42 PM, kiran ranjane < >> kiran.ranj...@gmail.com> >> >>> wrote: >> >>> > 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 < >> andremonte...@ua.pt> >> >>> > 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 <jme...@opennebula.org> >> >>> >> 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 <keks...@gmail.com> >> >>> >> 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 <keks...@gmail.com>: >> >>> >>> >> >>> >>>> 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 <jme...@opennebula.org>: >> >>> >>>> >> >>> >>>>> 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 < >> keks...@gmail.com> >> >>> >>>>> 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 <jme...@opennebula.org >> >: >> >>> >>>>>>> >> >>> >>>>>>> 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 >> >>> >>>>>>> <jme...@opennebula.org> >> >>> >>>>>>> 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 >> >>> >>>>>>>> <keks...@gmail.com> >> >>> >>>>>>>> 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 >> >>> >>>>>>>>> Users@lists.opennebula.org >> >>> >>>>>>>>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >>> >>>>>>>>> >> >>> >>>>>>>> >> >>> >>>>>>>> >> >>> >>>>>>>> >> >>> >>>>>>>> -- >> >>> >>>>>>>> Jaime Melis >> >>> >>>>>>>> Project Engineer >> >>> >>>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple >> >>> >>>>>>>> www.OpenNebula.org | jme...@opennebula.org >> >>> >>>>>>> >> >>> >>>>>>> >> >>> >>>>>>> >> >>> >>>>>>> >> >>> >>>>>>> -- >> >>> >>>>>>> Jaime Melis >> >>> >>>>>>> Project Engineer >> >>> >>>>>>> OpenNebula - Flexible Enterprise Cloud Made Simple >> >>> >>>>>>> www.OpenNebula.org | jme...@opennebula.org >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> >> >>> >>>>>> _______________________________________________ >> >>> >>>>>> Users mailing list >> >>> >>>>>> Users@lists.opennebula.org >> >>> >>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >>> >>>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> >> >>> >>>>> -- >> >>> >>>>> Jaime Melis >> >>> >>>>> Project Engineer >> >>> >>>>> OpenNebula - Flexible Enterprise Cloud Made Simple >> >>> >>>>> www.OpenNebula.org | jme...@opennebula.org >> >>> >>>> >> >>> >>>> >> >>> >>> >> >>> >>> >> >>> >>> _______________________________________________ >> >>> >>> Users mailing list >> >>> >>> Users@lists.opennebula.org >> >>> >>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >>> >>> >> >>> >> >> >>> >> >> >>> >> >> >>> >> -- >> >>> >> Jaime Melis >> >>> >> Project Engineer >> >>> >> OpenNebula - Flexible Enterprise Cloud Made Simple >> >>> >> www.OpenNebula.org | jme...@opennebula.org >> >>> >> >> >>> >> _______________________________________________ >> >>> >> Users mailing list >> >>> >> Users@lists.opennebula.org >> >>> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >>> >> >> >>> > >> >>> > >> >>> > _______________________________________________ >> >>> > Users mailing list >> >>> > Users@lists.opennebula.org >> >>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> >>> > >> >>> >> >>> >> >>> >> >>> -- >> >>> Javier Fontán Muiños >> >>> Developer >> >>> OpenNebula - Flexible Enterprise Cloud Made Simple >> >>> www.OpenNebula.org | @OpenNebula | github.com/jfontan >> >> >> >> >> > >> >> >> >> -- >> Javier Fontán Muiños >> Developer >> OpenNebula - Flexible Enterprise Cloud Made Simple >> www.OpenNebula.org | @OpenNebula | github.com/jfontan >> > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org