Added a platform check at container startup
This commit is contained in:
parent
cb293308e6
commit
578871cf3f
1 changed files with 6 additions and 0 deletions
|
|
@ -117,6 +117,12 @@ fi
|
||||||
|
|
||||||
get_Dell_server_model
|
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
|
# Log main informations
|
||||||
echo "Server model: $SERVER_MANUFACTURER $SERVER_MODEL"
|
echo "Server model: $SERVER_MANUFACTURER $SERVER_MODEL"
|
||||||
echo "iDRAC/IPMI host: $IDRAC_HOST"
|
echo "iDRAC/IPMI host: $IDRAC_HOST"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue