How to edit the hosts file of a VMware agent

How to edit the "hosts" file of a VMware agent

Task

Edit the "hosts" file of a VMware agent.

Solution

The VMware agent's "hosts" file is mounted in the agent system and can be edited from its TUI.

Perform the following steps:
      1. Go to the TUI and select the “Agent options” menu.


      2. Select “Edit hosts” menu.


      3. Edit the file. 


      4. Save it.