stepping-stone / vm-manager

The stoney cloud web interface.
http://www.stoney-cloud.org/
Other
0 stars 0 forks source link

Second disk size copied from first disk size when creating template from profile #32

Closed dev-zero closed 10 years ago

dev-zero commented 10 years ago

When creating a template from a profile with multiple disks, the disk size of the first disk gets replicated to the second, third, etc. disk. I would rather expect that the original disk size as specified for the respective disk gets used instead - consistent with the behaviour when creating a VM from a VM Template.

dev-zero commented 10 years ago

The problem is that $disk->sstVolumeCapacity in protected/controllers/VmTemplateController.php#L283-L284 is always set to the same $model->sstVolumeCapacity

This bug was reproducible in the version 1.2.10.4 (vm-manager version 1.2.18.9)