From 25e514a28e94ab32d452da45d8e6b42ab39ccffb Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Tue, 4 Nov 2014 11:33:15 -0800 Subject: [PATCH] CLOUDSTACK-7384: UI > Instances > detailView > change service offering option > hide it when VM state is Running and hyperviror is LXC. --- ui/scripts/instances.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js index 838e4d56b4f..3cf5dd65d41 100644 --- a/ui/scripts/instances.js +++ b/ui/scripts/instances.js @@ -2253,8 +2253,8 @@ allowedActions.push("destroy"); allowedActions.push("reinstall"); - //when userVm is running, scaleUp is not supported for KVM - if (jsonObj.hypervisor != 'KVM') { + //when userVm is running, scaleUp is not supported for KVM, LXC + if (jsonObj.hypervisor != 'KVM' && jsonObj.hypervisor != 'LXC') { allowedActions.push("scaleUp"); }