Foundation preconfiguration JSON | Nutanix Community
Skip to main content
Is there a KB or documentation providing the JSON format and any additional things that may be coded in? For example, in going through the install.nutanix.com portal to generate the JSON file it doesn't ask for NTP server of the hypervisor. In looking at the file, though, there's this line:



"hypervisor_nameserver": "8.8.8.8",



I'd like to have our Nutanix deployments in code as much as possible (right now we're looking to various scripts for vSphere configurations). Being able to configure as much as possible up front and possibly make this a template for future deployments.

Hello @tbailey1 

If you make manual entry to the json generated by install.nutanix.com it may not be readily importable on Foundation UI and is not recommended from Nutanix.

We try to keep the UI for install.nutanix.com aligned with major release of the actual foundation UI so that user can generate json.

However you could refer to the doc or sample of payload provided for image_node API provided at <foundation_ip>:8000/Foundation/docs.

You could also fill up the details on the Foundation UI and start an imaging session, which would generate persisted config in the backend which you could refer to and modify and try importing it to Foundation UI.


When I attempt to go to <foundation_ip>:8000/Foundation/docs I get a 404 error:

The path '/Foundation/docs' was not found.

 

When you say a persisted config that I could modify and try importing into Foundation...is there a way to export the config of an already configured environment?  Sorry, this may seem an obvious question and I’m still fairly new with the platform.

Thanks,

Travis


@tbailey1  

My mistake regarding the link
Can you try the following URL

http://<foundation_ip>:8000/docs/index.html

I couldn’t find an option to export JSON configuration from a running cluster instead, I would suggest you create a sample JSON using the install.nutanix.com and taking help from the link provided above and use it to automate further deployments. 

You can also refer to the following documentation 
https://portal.nutanix.com/#/page/docs/details?targetId=Field-Installation-Guide-v4-4:v44-run-foundation-c.html