From e2603cf8e854e1e77d37438eeaca6f5a7f1eecb4 Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Thu, 5 Oct 2023 16:26:55 +0200 Subject: [PATCH] only write ipmi of IpmiWrite is true Signed-off-by: Christian Goll --- CHANGELOG.md | 2 ++ overlays/wwinit/warewulf/init.d/50-ipmi | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e9a9df9..5bfafa4a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -100,6 +100,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 profile. #852, #876, #883, #896, #903 - During node discovery, prefer the primary network interface, if defined. #775 - added general test framework which creates temporary directories on the fly +- only write IPMI if write is true + ## [4.4.0] 2023-01-18 ### Added diff --git a/overlays/wwinit/warewulf/init.d/50-ipmi b/overlays/wwinit/warewulf/init.d/50-ipmi index 5da7f06d..7a2d245a 100755 --- a/overlays/wwinit/warewulf/init.d/50-ipmi +++ b/overlays/wwinit/warewulf/init.d/50-ipmi @@ -4,7 +4,7 @@ export PATH=/usr/bin:/bin:/usr/sbin:/sbin -if [ "$WWIPMI_WRITE" == "false" ]; then +if [ "$WWIPMI_WRITE" != "true" ]; then echo "No write to IMPI configured" exit fi