[et-mgmt-tools] [PATCH] use localhost when connecting local VNC guest console

Bernhard Kaindl bk at suse.de
Fri Aug 31 18:04:38 UTC 2007


On Fri, 31 Aug 2007, Daniel P. Berrange wrote:

>> self.connection.get_hostname()
>>
>> 	equals
>>
>> self.connection.get_local_hostname():
>>
>> and if that is so (both are the hostname of the local machine) then
>> the VNC connection can be directed to 127.0.0.1 as before:
>
> Hmm, I think I'll change the get_hostname() method so you can pass a
> flag indicating whether it should just return '127.0.0.1' for local
> connections, which should have same effect as the patch you provide.

Thanks, yes of course.
Bernhard




More information about the et-mgmt-tools mailing list