Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
dev-zero opened this issue Oct 31, 2013 · 1 comment
Assignees
Labels

Comments

@dev-zero
Copy link
Member

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.

@ghost ghost assigned flinx27 Oct 31, 2013
@dev-zero
Copy link
Member Author

dev-zero commented Jan 3, 2014

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants