A simple code sample to demonstrate the creation of an AHV VM using the Nutanix v4 APIs.
-
Rename
create_vm_example.jsontocreate_vm.json -
Edit
create_vm.jsonto contain settings appropriate for your environment -
Make sure the script is executable:
chmod u+x create_vm -
Run the script
./create_vm
