From b7364d89881780d4e7b819162e5ba6d055b0305c Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Sat, 19 Apr 2025 10:44:27 +0100 Subject: [PATCH] disable network for lshw to fix vmware workstation bug on ubuntu 24 https://bugs.launchpad.net/ubuntu/+source/lshw/+bug/2069649 --- agents/modules_meshcore/computer-identifiers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/modules_meshcore/computer-identifiers.js b/agents/modules_meshcore/computer-identifiers.js index ce5e3520..5b2455a9 100644 --- a/agents/modules_meshcore/computer-identifiers.js +++ b/agents/modules_meshcore/computer-identifiers.js @@ -148,7 +148,7 @@ function linux_identifiers() // Fetch Storage Info child = require('child_process').execFile('/bin/sh', ['sh']); child.stdout.str = ''; child.stdout.on('data', dataHandler); - child.stdin.write("lshw -class disk | tr '\\n' '`' | awk '" + '{ len=split($0,lines,"*"); printf "["; for(i=2;i<=len;++i) { model=""; caption=""; size=""; clen=split(lines[i],item,"`"); for(j=2;j