Github user priyankparihar commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/1813#discussion_r103154553
--- Diff: server/src/com/cloud/vm/UserVmManagerImpl.java ---
@@ -3520,27 +3520,17 @@ public UserVmVO doInTransaction(TransactionStatus
status) throws InsufficientCap
}
rootDiskSize =
Long.parseLong(customParameters.get("rootdisksize"));
- // only KVM supports rootdisksize override
- if (hypervisorType != HypervisorType.KVM) {
- throw new
InvalidParameterValueException("Hypervisor " + hypervisorType + " does not
support rootdisksize override");
+ // only KVM, XenServer and VMware supports
rootdisksize override
+ if (!(hypervisorType == HypervisorType.KVM ||
hypervisorType == HypervisorType.XenServer || hypervisorType ==
HypervisorType.VMware)) {
+ throw new
InvalidParameterValueException("Hypervisor " + hypervisorType + " does not
support rootdisksize override");
--- End diff --
@sureshanaparti both are serving different purpose. Yes, It is intentional.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---