How to change Hostname in VPV 1.20?

My customer has deployed HP vPV 1.20 Appliance (CentOS box), they would like to configure the Hostname.

 

I did not find how to configure Hostname in vPV Appliance, I checked vPV manuals. But no luck.

I tried following without success :

 

/opt/vmware/share/vami/vami_set_hostname vpv.lab.local

 

Please suggest.

 

Regards

Smita

Parents Reply Children
  • Dear,

     

    Using the VAMI (Virtual Appliance Management Infrastructure) interface is possible to change the hostname, however when you reboot the system it will go back to "localhost.localdom".

     

    The only way I found to change the hostname permanently is:

     

    1. Open the script vami_set_hostname, located at /opt/vmware/share/vami;

    2. Change the line HOSTNAME to desired hostname (see pic below).

    3. Restart the server.