mirror of
https://github.com/tigerblue77/Dell_iDRAC_fan_controller_Docker.git
synced 2025-10-23 04:51:57 +00:00
Merge pull request #71 from tigerblue77/67-add-a-platform-check-at-container-startup
Added a platform check at container startup
This commit is contained in:
@@ -117,6 +117,12 @@ fi
|
||||
|
||||
get_Dell_server_model
|
||||
|
||||
if [[ ! $SERVER_MANUFACTURER == "DELL" ]]
|
||||
then
|
||||
echo "/!\ Your server isn't a Dell product. Exiting." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Log main informations
|
||||
echo "Server model: $SERVER_MANUFACTURER $SERVER_MODEL"
|
||||
echo "iDRAC/IPMI host: $IDRAC_HOST"
|
||||
|
Reference in New Issue
Block a user