Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I dug through the source code for Nova's API, and I found that it's looking for a field called "user_data". I didn't see this in the API documentation for server creation, but I may have been looking in the wrong place. The beautiful thing about open source is that you can always go find what you need in the code :)

At any rate, this is what the JSON looks like. Hope it helps someone in the future!

   "server": {
      "flavorRef": "",
      "imageRef": "",
      "name": "test-2",
      "user_data":"<Base64 encoded script>",