Rags,
Thanks very much. I really appreciate your help.
Unfortunately, I can't use the blueprint or deployment profile for setting the hostname because I need to write a script that will allow users to easily deploy blueprints without using the UI.
So I created a service that will change the hostname, but I've run into the ran into "node does not exist" problem once again. Maybe I don't understand how to structure the message correctly..
What I did was use the output from the "deploy-props" API as input to "deploy", changing only the hostname. Is that correct? Anyway, here is the output from deploy-props
{
"node": [
{
"name": "rhn3",
"nodeComponent": [
{
"name": "Set_Hostname",
"property": [
{
"key": "new_name",
"value": "pierre"
}
]
}
]
}
]
}
and here's the error message: "The node 'rhn3' does not exist in the current 'deployment profile'."
Thanks again for your help.
Howard