Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit 0b42f17

Browse files
Allow VM Snapshot for stopped VM on KVM hypervisor and PowerFlex/ScaleIO storage pool
1 parent 43f2efc commit 0b42f17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/config/section/compute.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ export default {
161161
args: ['virtualmachineid', 'name', 'description', 'snapshotmemory', 'quiescevm'],
162162
show: (record) => {
163163
return ((['Running'].includes(record.state) && record.hypervisor !== 'LXC') ||
164-
(['Stopped'].includes(record.state) && record.hypervisor !== 'KVM' && record.hypervisor !== 'LXC'))
164+
(['Stopped'].includes(record.state) && ((record.hypervisor !== 'KVM' && record.hypervisor !== 'LXC') ||
165+
(record.hypervisor === 'KVM' && record.pooltype === 'PowerFlex'))))
165166
},
166167
mapping: {
167168
virtualmachineid: {

0 commit comments

Comments
 (0)