ProxmoxでLinuxコンテナ内の/etc/hostsファイルを書き換えて再起動したところ、
/etc/hostsファイルの修正内容が消えていた。
保持するためには、コンテナのOS内で、/etc/.pve-ignore.hostsファイルを作成しないといけないらしい。
https://pve.proxmox.com/wiki/Linux_Container#_guest_operating_system_configuration
# touch /etc/.pve-ignore.hosts
これで消えなくなった。