set qemu instance maxswap to 0
This commit is contained in:
parent
f53048edc4
commit
cff0986b29
@ -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