From d1047625e47b9630f25f1c3ad23a0bbc5686b1a1 Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Wed, 2 Nov 2011 18:09:15 -0700 Subject: [PATCH] cloudStack 2.2 UI - instance page - show "migrate instance" option when root device type is "OCFS2" (new one). --- ui/scripts/cloud.core.instance.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/cloud.core.instance.js b/ui/scripts/cloud.core.instance.js index 248386e311d..c04b0b554e4 100755 --- a/ui/scripts/cloud.core.instance.js +++ b/ui/scripts/cloud.core.instance.js @@ -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') ) {