Skip to content

Instantly share code, notes, and snippets.

@pccowboy
Created December 11, 2013 07:23
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 pccowboy/7906277 to your computer and use it in GitHub Desktop.
Save pccowboy/7906277 to your computer and use it in GitHub Desktop.
attempt to update IPMI address
curl -X PUT -d '{ "sp_ip" : "'$NEW_SP'"}' -H "Accept: version=2,application/json" -H "Content-Type: application/json" http://foreman.someone.com/api/hosts/$x -u dswift:PASSWORD -s;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment