Added ONEADMIN_USER_SSH_PUBLIC_KEY parameter to load oneadmin user's ssh key by default when creating VM via DCL flow
This commit is contained in:
parent
3b1cd200d6
commit
73721f16d2
2 changed files with 4 additions and 0 deletions
|
|
@ -482,6 +482,7 @@ class OrderConfirmationView(DetailView):
|
|||
vm_id = manager.create_vm(
|
||||
template_id=vm_template_id,
|
||||
specs=specs,
|
||||
ssh_key=settings.ONEADMIN_USER_SSH_PUBLIC_KEY,
|
||||
vm_name="{email}-{template_name}-{date}".format(
|
||||
email=user.get('email'),
|
||||
template_name=template.get('name'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue