Do not list /boot partition for blockdevices routes

This commit is contained in:
Johannes Zellner
2025-08-21 10:26:46 +02:00
parent 5f9789f99f
commit 937dd2be5e
+1 -1
View File
@@ -334,7 +334,7 @@ async function getBlockDevices() {
rota: d.rota, // false (ssd) true (hdd) . unforuntately, this is not set correctly when virtualized (like in DO)
mountpoint: Array.isArray(d.mountpoints) ? d.mountpoints[d.mountpoints.length-1] : d.mountpoint // we only support one mountpoint here old lsblk only exposed one via .mountpoint
};
});
}).filter(d => d.mountpoint !== '/boot');
}
async function checkRebootRequired() {