Change to new OpenNebula functions
This commit is contained in:
parent
d0fc0144e5
commit
63052df6c9
1 changed files with 1 additions and 1 deletions
|
@ -339,7 +339,7 @@ class HostingBill(AssignPermissionsMixin, models.Model):
|
|||
def get_vms(self):
|
||||
email = self.customer.user.email
|
||||
# Get opennebula client
|
||||
opennebula_client = OpenNebulaManager()
|
||||
opennebula_client = OpenNebulaManager(create_user=False)
|
||||
|
||||
# Get vm pool
|
||||
vm_pool = opennebula_client.get_vms(email)
|
||||
|
|
Loading…
Reference in a new issue