only write ipmi of IpmiWrite is true

Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
Christian Goll
2023-10-05 16:26:55 +02:00
committed by Jonathon Anderson
parent 2f9ec8103e
commit e2603cf8e8
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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