Commit ca8676dd by Dudás Ádám

vm: call clean to ensure running validations

parent b81b0298
......@@ -365,6 +365,7 @@ class Instance(VirtualMachineDescModel, TimeStampedModel):
# create instance and do additional setup
inst = cls(**kwargs)
# save instance
inst.clean()
inst.save()
# create related entities
for disk in disks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment