Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 168400

Re: How to Set Node's Hostname with REST APIs?

$
0
0

Rags,

Thanks very much. I did as you suggested and the node name is now recognized.

 

However, I can't figure out how to set the node's hostname. Here's one of the messages I tried. It's accepted but the node gets a system generated hostname. Can you tell me where I'm going wrong? Thanks again.

 

 

 

{

       "node":[{

            "name":"TimingOS",

            "property":[{    

                 "hostname":"joe"                      

            }],

            "nodeComponent":[{

                 "name":"REST_API_Workaround",                

                 "property"[{                

                      "key":"java_app",

                      "value":"/root/signaldeployer.sh"                    ]

                 }]         

            }]

     }]

}


Viewing all articles
Browse latest Browse all 168400

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>