Your best bet is to use DNS instead, there is no way to make /etc/hosts permanent.

---
Nux!
www.nux.ro

On 2022-03-21 11:27, Serge Byishimo wrote:
Hi all,

I would like to know how to make my added IPs in the /etc/hosts file
permanent.

It seems every time cloudstack is restarted for some reason (power outage,
...) the IPs I added in the /etc/hosts file are lost.

This is not related to the already existing configurations that exist in that file but instead, there are other IPs I add to that file that helps
the NGINX proxy server I installed in the virtual router.

Any thoughts or comments would be appreciated!

Best regards,

Reply via email to