projects
/
osm
/
LW-UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix parameter on instance creation
[osm/LW-UI.git]
/
instancehandler
/
views.py
diff --git
a/instancehandler/views.py
b/instancehandler/views.py
index
d80d18d
..
45120e2
100644
(file)
--- a/
instancehandler/views.py
+++ b/
instancehandler/views.py
@@
-64,7
+64,7
@@
def create(request):
"vimAccountId": request.POST.get('vimAccountId', ''),
}
if 'ssh_key' in request.POST and request.POST.get('ssh_key') != '':
"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'))
if 'config' in request.POST:
ns_config = yaml.load(request.POST.get('config'))