fix vmvnc url prefix
This commit is contained in:
parent
7150f2f125
commit
9aeb412ca0
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ def vmvnc(vm_id):
|
||||||
novnc.spawn(vnc_target, vnc_options)
|
novnc.spawn(vnc_target, vnc_options)
|
||||||
|
|
||||||
external_url = ioconfig.parser.get('general', 'novnc_url')
|
external_url = ioconfig.parser.get('general', 'novnc_url')
|
||||||
prefix = external_url + "/?host=" + myip + "&port=" + listenport + "&encrypt=0&true_color=1&password="
|
prefix = external_url + "?host=" + myip + "&port=" + listenport + "&encrypt=0&true_color=1&password="
|
||||||
vnc_url = prefix + ticket['ticket']
|
vnc_url = prefix + ticket['ticket']
|
||||||
|
|
||||||
ioconfig.logger.info('slave[{}]> vnc port {} ready'.format(slave_name, listenport))
|
ioconfig.logger.info('slave[{}]> vnc port {} ready'.format(slave_name, listenport))
|
||||||
|
|
Loading…
Reference in a new issue