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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<mailto: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<http://www.OpenNebula.org> | 
jme...@opennebula.org<mailto:jme...@opennebula.org>



--
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org<http://www.OpenNebula.org> | 
jme...@opennebula.org<mailto:jme...@opennebula.org>


_______________________________________________
Users mailing list
Users@lists.opennebula.org<mailto: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<http://www.OpenNebula.org> | 
jme...@opennebula.org<mailto:jme...@opennebula.org>



_______________________________________________
Users mailing list
Users@lists.opennebula.org<mailto: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<http://www.OpenNebula.org> | 
jme...@opennebula.org<mailto:jme...@opennebula.org>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to