fix parameter on instance creation
Change-Id: Idb3332b859110fd29fa6359c1e504b86128421ff
Signed-off-by: lombardofr <lombardo@everyup.it>
diff --git a/instancehandler/views.py b/instancehandler/views.py
index d80d18d..45120e2 100644
--- a/instancehandler/views.py
+++ b/instancehandler/views.py
@@ -64,7 +64,7 @@
"vimAccountId": request.POST.get('vimAccountId', ''),
}
if 'ssh_key' in request.POST and request.POST.get('ssh_key') != '':
- ns_data["ssh-authorized-key"] = [request.POST.get('ssh_key')]
+ ns_data["ssh_keys"] = request.POST.get('ssh_key')
if 'config' in request.POST:
ns_config = yaml.load(request.POST.get('config'))