Commit 7e4ec146 authored by Giorgos Verigakis's avatar Giorgos Verigakis
Browse files

We import getfqdn, not socket

parent d19ff253
...@@ -76,7 +76,7 @@ def get_console(request, vm, args): ...@@ -76,7 +76,7 @@ def get_console(request, vm, args):
passwd = random_password() passwd = random_password()
request_vnc_forwarding(sport, daddr, dport, passwd) request_vnc_forwarding(sport, daddr, dport, passwd)
vnc = { 'host': socket.getfqdn(), 'port': sport, 'password': passwd } vnc = { 'host': getfqdn(), 'port': sport, 'password': passwd }
# Format to be reviewed by [verigak], FIXME # Format to be reviewed by [verigak], FIXME
if request.serialization == 'xml': if request.serialization == 'xml':
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment