mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
console: Don't generate spice URI with a user name
It doesn't even handle it
This commit is contained in:
parent
a455ba72b6
commit
66b009c26e
@ -528,10 +528,8 @@ class SpiceViewer(Viewer):
|
|||||||
|
|
||||||
def open_host(self, ginfo, password=None):
|
def open_host(self, ginfo, password=None):
|
||||||
host, port = ginfo.get_conn_host()
|
host, port = ginfo.get_conn_host()
|
||||||
user = ginfo.connuser
|
|
||||||
|
|
||||||
uri = "spice://"
|
uri = "spice://"
|
||||||
uri += (user and str(user) or "")
|
|
||||||
uri += str(host) + "?port=" + str(port)
|
uri += str(host) + "?port=" + str(port)
|
||||||
logging.debug("spice uri: %s", uri)
|
logging.debug("spice uri: %s", uri)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user