Hi Serge, The /etc/hosts file is automatically generated and updated by cloudstack, therefore there is no way to add persistent records in the file.
-Wei On Mon, 21 Mar 2022 at 12:47, Serge Byishimo <sergebyish...@gmail.com> 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, >