Small tweak to the image creation script

This commit is contained in:
David Carley
2022-09-12 04:29:04 +00:00
parent 6a851a5a79
commit ca70091347

View File

@@ -14,8 +14,9 @@ async function main() {
const { uid } = statSync(".");
const devices = runCommand("df -T msdos")
const devices = runCommand("df -H -T msdos")
.split("\n")
.filter(line => !line.includes("Filesystem"))
.map(line => {
const [ disk ] = line.split(/\s+/);
return {