From f4e17505510f0fe23f70b6b20a6eb939a9b3ab0b Mon Sep 17 00:00:00 2001 From: deflax Date: Mon, 15 Feb 2016 13:14:19 +0200 Subject: [PATCH] fine tuning --- plugin.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugin.py b/plugin.py index 99e82d7..ed28bcb 100644 --- a/plugin.py +++ b/plugin.py @@ -271,11 +271,12 @@ def vmvnc(vm_id): vnc_target = { 'target_host': slaveip, 'target_port': slaveport, 'listen_host': myip, - 'listen_port': listenport } + 'listen_port': listenport + } vnc_options = { 'idle-timeout': 20, - 'verbose': True, - 'run-once': True } + 'verbose': True + } novnc.spawn(vnc_target, vnc_options)