From cff0986b299da818f9efcd9705805777d1b22f97 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Wed, 14 Dec 2022 17:31:05 -0800 Subject: [PATCH] set qemu instance maxswap to 0 --- scripts/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/index.js b/scripts/index.js index 9ba0c91..4e086c1 100644 --- a/scripts/index.js +++ b/scripts/index.js @@ -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");