Commit 2562ea1f by Bach Dániel

vm: add missing disk.save() to CreateDiskOperation

parent b9bd7652
......@@ -137,6 +137,7 @@ class CreateDiskOperation(InstanceOperation):
for d in self.instance.disks.all():
devnums.remove(d.dev_num)
disk.dev_num = devnums.pop(0)
disk.save()
self.instance.disks.add(disk)
if self.instance.is_running:
......
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