From 9d38db7a9df76e4a31fc0deae3f605e68fde976d Mon Sep 17 00:00:00 2001 From: Olivier FAURAX Date: Wed, 6 Nov 2024 10:37:02 +0000 Subject: [PATCH 1/3] Add Alpine line to install tools Signed-off-by: Olivier FAURAX --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 202c494..2985194 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,10 @@ Reference the Dockerfile for other dependency requirements. pip3 install git+https://github.com/packethost/packet-hardware.git@master ``` +Install required tools: +- Alpine: `apk add dmidecode ipmitool smartmontools hdparm ethtool` + + ## Running inventory (docker) The below command will run the script without posting the results. From f64f0cb8217384f96852a13ef66d3ed303402299 Mon Sep 17 00:00:00 2001 From: Olivier FAURAX Date: Wed, 6 Nov 2024 10:39:44 +0000 Subject: [PATCH 2/3] Explain venv if needed Signed-off-by: Olivier FAURAX --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 2985194..5613eb3 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,13 @@ Reference the Dockerfile for other dependency requirements. pip3 install git+https://github.com/packethost/packet-hardware.git@master ``` +if it fails, you may need to use a venv: +``` +python3 -m venv phenv +. phenv/bin/activate +pip install git+https://github.com/packethost/packet-hardware.git@master +``` + Install required tools: - Alpine: `apk add dmidecode ipmitool smartmontools hdparm ethtool` From 52e8a512f0bb510ebf99c25e0b09d3855057dc4a Mon Sep 17 00:00:00 2001 From: Olivier FAURAX Date: Thu, 7 Nov 2024 13:13:06 +0000 Subject: [PATCH 3/3] Add Redhat instructions Signed-off-by: Olivier FAURAX --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 5613eb3..33a25ef 100644 --- a/README.md +++ b/README.md @@ -41,6 +41,7 @@ pip install git+https://github.com/packethost/packet-hardware.git@master Install required tools: - Alpine: `apk add dmidecode ipmitool smartmontools hdparm ethtool` +- Redhat: `yum install dmidecode ipmitool smartmontools hdparm ethtool` ## Running inventory (docker)