Skip to content

Instantly share code, notes, and snippets.

@jbd
Created July 17, 2012 16:29
Show Gist options
  • Save jbd/3130457 to your computer and use it in GitHub Desktop.
Save jbd/3130457 to your computer and use it in GitHub Desktop.
Cobbler template file for supermicro officeblade chassis
#if $power_mode == "on"
#set operation = "up"
#else
#set operation = "down"
#end if
cd /etc/SMCIPMITool/ && java -jar /etc/SMCIPMITool/SMCIPMITool.jar "$power_address" "$power_user" "$power_pass" blade $power_id power "$operation" && cd -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment