summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-06-14 10:09:22 +0200
committerSimon Rettberg2024-06-14 10:09:22 +0200
commit30234251288dbff1215ae93d98e312cb179aa095 (patch)
tree3c7deac1e5468314489e066e03f4dd13f4cc1b45
parent[dhcpc-busybox] Wait much longer between retries (diff)
downloadmltk-30234251288dbff1215ae93d98e312cb179aa095.tar.gz
mltk-30234251288dbff1215ae93d98e312cb179aa095.tar.xz
mltk-30234251288dbff1215ae93d98e312cb179aa095.zip
[hardware-stats] Include iproute2's ip for --json
-rw-r--r--core/modules/hardware-stats/module.conf1
-rw-r--r--core/modules/hardware-stats/module.conf.debian9
-rw-r--r--core/modules/hardware-stats/module.conf.ubuntu9
3 files changed, 5 insertions, 14 deletions
diff --git a/core/modules/hardware-stats/module.conf b/core/modules/hardware-stats/module.conf
index 9f0007bc..22dc34e5 100644
--- a/core/modules/hardware-stats/module.conf
+++ b/core/modules/hardware-stats/module.conf
@@ -6,6 +6,7 @@ REQUIRED_MODULES="
REQUIRED_BINARIES="
rdmsr
blockdev
+ ip
"
REQUIRED_FILES="
diff --git a/core/modules/hardware-stats/module.conf.debian b/core/modules/hardware-stats/module.conf.debian
index 1895684c..da5f9af2 100644
--- a/core/modules/hardware-stats/module.conf.debian
+++ b/core/modules/hardware-stats/module.conf.debian
@@ -1,14 +1,9 @@
#!/bin/bash
-REQUIRED_INSTALLED_PACKAGES="
- dmidecode
- msr-tools
- python3-netifaces
- util-linux
-"
-
REQUIRED_CONTENT_PACKAGES="
msr-tools
dmidecode
util-linux
+ python3-netifaces
+ iproute2
"
diff --git a/core/modules/hardware-stats/module.conf.ubuntu b/core/modules/hardware-stats/module.conf.ubuntu
index 1895684c..da5f9af2 100644
--- a/core/modules/hardware-stats/module.conf.ubuntu
+++ b/core/modules/hardware-stats/module.conf.ubuntu
@@ -1,14 +1,9 @@
#!/bin/bash
-REQUIRED_INSTALLED_PACKAGES="
- dmidecode
- msr-tools
- python3-netifaces
- util-linux
-"
-
REQUIRED_CONTENT_PACKAGES="
msr-tools
dmidecode
util-linux
+ python3-netifaces
+ iproute2
"