diff --git a/hosting/models.py b/hosting/models.py index 3eaae483..1232dda3 100644 --- a/hosting/models.py +++ b/hosting/models.py @@ -125,7 +125,7 @@ class VirtualMachinePlan(AssignPermissionsMixin, models.Model): status = models.CharField(max_length=20, choices=VM_STATUS_CHOICES, default=PENDING_STATUS) ip = models.CharField(max_length=50, blank=True) configuration = models.CharField(max_length=20, choices=VM_CONFIGURATION) - opennebula_id = models.IntegerField() + opennebula_id = models.IntegerField(null=True) objects = VMPlansManager()