Skip to content

Instantly share code, notes, and snippets.

@mungi
Last active December 13, 2018 16:43
Show Gist options
  • Save mungi/29f0f335f4ce945aae3a11cdd84d7929 to your computer and use it in GitHub Desktop.
Save mungi/29f0f335f4ce945aae3a11cdd84d7929 to your computer and use it in GitHub Desktop.
Baremetal OS Reload
curl -u $SL_USERNAME:$SL_API_KEY -X POST -d '{"parameters": ["FORCE", {"customProvisionScriptUri": "https://raw.githubusercontent.com/mungi/gist/master/pv-cent.sh", "upgradeBios": 1, "sshKeyIds": [887911]}]}' 'https://api.softlayer.com/rest/v3.1/SoftLayer_Hardware_Server/1602553/reloadOperatingSystem.json'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment