If you made changes to the /etc/hosts file, they might be overwritten when any of the following actions occur:

Reboot

Network changes

Changes made in the Management console-> Network tab

Upgrade

To make a permanent change to the /etc/hosts file, you must make the change outside of the VAMI_EDIT_BEGIN to VAMI_EDIT_END section because this section is overwritten when a network change is detected.