Skip to content

Instantly share code, notes, and snippets.

@4383
Created April 3, 2019 14:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 4383/15d76ece121460a0e3326015027d82d4 to your computer and use it in GitHub Desktop.
Save 4383/15d76ece121460a0e3326015027d82d4 to your computer and use it in GitHub Desktop.
kill controler-0 by using ipmi example
#!/bin/sh
ipmitool -I lanplus -H 172.16.0.1 -L ADMINISTRATOR -p 6232 -U admin -R 12 -N 5 -Ppassword power status
ipmitool -I lanplus -H 172.16.0.1 -L ADMINISTRATOR -p 6232 -U admin -R 12 -N 5 -Ppassword power off
sleep 2
ipmitool -I lanplus -H 172.16.0.1 -L ADMINISTRATOR -p 6232 -U admin -R 12 -N 5 -Ppassword power status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment