Added missing oneadmin's ssh key statement

This commit is contained in:
PCoder 2017-08-19 18:02:55 +05:30
parent 339a6283cd
commit 2b71795431

View file

@ -58,6 +58,7 @@ def create_vm_task(self, vm_template_id, user, specs, template, stripe_customer_
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'),