OpenVZ Container loses IP address every night at 11PM

jonc

Member
Jul 3, 2013
40
0
6
I have a container configured with a static IP address in /etc/network/interfaces, however, every night at 11PM the CT reverts to a random DHCP address.
How is an explicitly configured configuration file ignored?
 
Have you checked whether theres a cron job calling dhclient maybe? crontab -e or /etc/cron.*
 
The crontab is empty within the container and there's nothing under /etc/cron.* related to a dhcp client. What else could be potentially causing this?