set qemu instance maxswap to 0

This commit is contained in:
Arthur Lu 2022-12-14 17:31:05 -08:00
parent f53048edc4
commit cff0986b29

View File

@ -20,6 +20,7 @@ async function init () {
let qemu = await request(`/nodes/${nodeName}/qemu`, "GET");
qemu.data.forEach((item) => {
item.node = {name: nodeName, status: nodeStatus};
item.maxswap = 0;
item.type = "qemu";
});
let lxc = await request(`/nodes/${nodeName}/lxc`, "GET");