mirror of https://github.com/apache/cloudstack.git
bug 11647: cloudStack 2.2 UI - Instance page - make Migrate Instance option available for VM whose hypervisor is OVM.
This commit is contained in:
parent
e3955e7b89
commit
762890f58e
|
|
@ -1957,7 +1957,8 @@ function vmBuildActionMenu(jsonObj, $thisTab, $midmenuItem1) {
|
|||
buildActionLinkForTab("label.action.destroy.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
if (isAdmin()
|
||||
&& (jsonObj.rootdevicetype == 'NetworkFilesystem' || jsonObj.rootdevicetype == 'IscsiLUN' || jsonObj.rootdevicetype == 'PreSetup')
|
||||
&& (jsonObj.hypervisor == 'XenServer' || jsonObj.hypervisor == 'VMware' || jsonObj.hypervisor == 'KVM'))
|
||||
//&& (jsonObj.hypervisor == 'XenServer' || jsonObj.hypervisor == 'VMware' || jsonObj.hypervisor == 'KVM')
|
||||
)
|
||||
{
|
||||
buildActionLinkForTab("label.action.migrate.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue