mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
VM snapshot action: add quiescevm option as checkbox
This commit is contained in:
parent
c5bec6b336
commit
61b77086f4
@ -41,6 +41,11 @@
|
||||
label: 'label.vmsnapshot.memory',
|
||||
isBoolean: true,
|
||||
isChecked: false
|
||||
},
|
||||
quiescevm: {
|
||||
label: 'Quiesce VM',
|
||||
isBoolean: true,
|
||||
isChecked: false
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -50,6 +55,7 @@
|
||||
$(instances).map(function(index, instance) {
|
||||
var array1 = [];
|
||||
array1.push("&snapshotmemory=" + (args.data.snapshotMemory == "on"));
|
||||
array1.push("&quiescevm=" + (args.data.quiescevm == "on"));
|
||||
var displayname = args.data.name;
|
||||
if (displayname != null && displayname.length > 0) {
|
||||
array1.push("&name=" + todb(displayname));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user