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:
Tigerblue77 2024-01-28 23:24:47 +01:00 committed by GitHub
commit a0536c57ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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