mirror of https://github.com/apache/cloudstack.git
cloudStack 2.2 UI - instance page - show "migrate instance" option when root device type is "OCFS2" (new one).
This commit is contained in:
parent
1ba2d1c8d5
commit
d1047625e4
|
|
@ -1956,7 +1956,7 @@ function vmBuildActionMenu(jsonObj, $thisTab, $midmenuItem1) {
|
|||
buildActionLinkForTab("label.action.reboot.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
buildActionLinkForTab("label.action.destroy.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
if (isAdmin()
|
||||
&& (jsonObj.rootdevicetype == 'NetworkFilesystem' || jsonObj.rootdevicetype == 'IscsiLUN' || jsonObj.rootdevicetype == 'PreSetup')
|
||||
&& (jsonObj.rootdevicetype == 'NetworkFilesystem' || jsonObj.rootdevicetype == 'IscsiLUN' || jsonObj.rootdevicetype == 'PreSetup' || jsonObj.rootdevicetype == 'OCFS2')
|
||||
//&& (jsonObj.hypervisor == 'XenServer' || jsonObj.hypervisor == 'VMware' || jsonObj.hypervisor == 'KVM')
|
||||
)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue