Commit 17459f8f authored by Vivien Alger's avatar Vivien Alger

Reverted string formatting of vnc ip

parent 23583f71
......@@ -76,7 +76,7 @@ class Recipe(BaseSlapRecipe):
Returns : Dictionnary kvm_conf
"""
kvm_conf = dict(vnc_ip = "%s" % (vnc_ip))
kvm_conf = dict(vnc_ip = vnc_ip)
connection_found = False
for tap_interface, dummy in self.parameter_dict['ip_list']:
......@@ -156,15 +156,15 @@ class Recipe(BaseSlapRecipe):
"""
noVNC_conf = {}
noVNC_conf['websockify_path'] = self.options['websockify_path']
noVNC_conf['noVNC_location'] = self.options['noVNC_location']
noVNC_conf['source_ip'] = source_ip
noVNC_conf['source_port'] = source_port
noVNC_conf['target_ip'] = target_ip
noVNC_conf['target_port'] = target_port
noVNC_conf['python_path'] = python_path
noVNC_conf['websockify_path'] = self.options['websockify_path']
noVNC_conf['noVNC_location'] = self.options['noVNC_location']
noVNC_conf['source_ip'] = source_ip
noVNC_conf['source_port'] = source_port
noVNC_conf['target_ip'] = target_ip
noVNC_conf['target_port'] = target_port
noVNC_conf['python_path'] = python_path
noVNC_conf['ca_conf'] = self.installCertificateAuthority()
noVNC_conf['ca_conf'] = self.installCertificateAuthority()
noVNC_conf['key_path'], noVNC_conf['certificate_path'] = self.requestCertificate('noVNC')
# Instanciate Websockify
......
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