mirror of https://github.com/apache/cloudstack.git
Added the check for root device type == PreSetup (Fibre Channel) when allowing whether a VM can be migrated or not.
This commit is contained in:
parent
57cfdb8092
commit
51fd3ff2ca
|
|
@ -1895,7 +1895,7 @@ function vmBuildActionMenu(jsonObj, $thisTab, $midmenuItem1) {
|
|||
buildActionLinkForTab("label.action.stop.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
buildActionLinkForTab("label.action.reboot.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
buildActionLinkForTab("label.action.destroy.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
if ((jsonObj.rootdevicetype == 'NetworkFilesystem' || jsonObj.rootdevicetype == 'IscsiLUN') && jsonObj.hypervisor == 'XenServer') {
|
||||
if ((jsonObj.rootdevicetype == 'NetworkFilesystem' || jsonObj.rootdevicetype == 'IscsiLUN' || jsonObj.rootdevicetype == 'PreSetup') && jsonObj.hypervisor == 'XenServer') {
|
||||
buildActionLinkForTab("label.action.migrate.instance", vmActionMap, $actionMenu, $midmenuItem1, $thisTab);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue