set qemu instance maxswap to 0
This commit is contained in:
parent
3f33684edf
commit
bc9c9b87d8
@ -20,6 +20,7 @@ async function init () {
|
|||||||
let qemu = await request(`/nodes/${nodeName}/qemu`, "GET");
|
let qemu = await request(`/nodes/${nodeName}/qemu`, "GET");
|
||||||
qemu.data.forEach((item) => {
|
qemu.data.forEach((item) => {
|
||||||
item.node = {name: nodeName, status: nodeStatus};
|
item.node = {name: nodeName, status: nodeStatus};
|
||||||
|
item.maxswap = 0;
|
||||||
item.type = "qemu";
|
item.type = "qemu";
|
||||||
});
|
});
|
||||||
let lxc = await request(`/nodes/${nodeName}/lxc`, "GET");
|
let lxc = await request(`/nodes/${nodeName}/lxc`, "GET");
|
||||||
|
Loading…
Reference in New Issue
Block a user