Check-in [efefe8ac53]
Not logged in
Overview
Comment:Make spiceuri report FQDN if spice socket is bound to all addresses. Fixes [b186056b7771]
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: efefe8ac5362cf563032adad0c23cdb7e5c0cfc8
User & Date: vitus on 2017-01-14 07:08:21
Other Links: manifest | tags
Context
2017-01-14
11:15
Replaced find_free_port with more generic version check-in: 83455d7349 user: vitus tags: trunk
07:08
Make spiceuri report FQDN if spice socket is bound to all addresses. Fixes [b186056b7771] check-in: efefe8ac53 user: vitus tags: trunk
2017-01-13
20:23
Implemented --localtime option for vws create. Fixes [b361b92a4d57] check-in: 8d7b8d03b4 user: vitus tags: trunk
Changes

Modified vws from [e213acf35f] to [b84e336c77].

66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
    for line in output.split("\n"):
        if url is not None:
            continue
        idx = line.find("address:")
        if idx != -1:
            url = line[idx+9:]
            if url.startswith('*:'):
                url = "localhost"+url[1:]
    if url is None:
        print >>sys.stderr, "ERROR parsing 'info spice' output:",output
        return None
    return "spice://" + url.rstrip('\r')










|







66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
    for line in output.split("\n"):
        if url is not None:
            continue
        idx = line.find("address:")
        if idx != -1:
            url = line[idx+9:]
            if url.startswith('*:'):
                url = socket.getfqdn()+url[1:]
    if url is None:
        print >>sys.stderr, "ERROR parsing 'info spice' output:",output
        return None
    return "spice://" + url.rstrip('\r')