proxmox adds localhost ipv6 entries to /etc/hosts inside the containers

eth

Renowned Member
Feb 24, 2016
69
3
73
38
I've just noticed that after rebooting a proxmox server, there are new lines added to /etc/hosts inside Centos containers. They look like this:

::1 localhost​

This is undesirable, since my containers have no ipv6 support (and I don't need them to have it).

How can I disable this?
 
There is no need to disable this. There is no harm by this entry
For some reason it breaks my nginx - php-fpm connection. I get tonns of "Cannot connect to ::1" errors in my nginx logs (probably due to it looking up localhost through /etc/hosts)