Do not list /boot partition for blockdevices routes
This commit is contained in:
+1
-1
@@ -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)
|
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
|
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() {
|
async function checkRebootRequired() {
|
||||||
|
|||||||
Reference in New Issue
Block a user