I've been trying to set the VM's hostname when I deploy an application, but have been unsuccessful. The application consists of just the OS - there are no services installed yet Here's one example of what I used when I deployed the app. It is based on the output of the "node-info" REST API:for the particular deployment profile.
{
"node":[{
"name":"VM1",
"properties":[{
"hostname":"joe"
}],
"nodeComponent":[]
}]
}
But when using the above request I get the error message: "The node 'VM1' does not exist in the current 'deployment profile'." even though "VM1" is the only node in the deployment profile. I've tried other variants and always get the same error message.
Does anyone have any suggestions for how I can set the node's hostname when deploying the application? Thanks.