I use heartbeat to move the primary IP address between the eth0 interface of my 2 containers.
For the internet connection to work, heartbeat requires the gateway to already be set in the interface configuration.
When I set the gateway in the container settings and leave the IP address empty, it is not saved:
Before:

After save:

This means that I need to make an ugly script to set the gateway manually on heartbeat state change.
Given my previous request (Proxmox still uses DHCP even though the interface is configured as Static: https://forum.proxmox.com/threads/proxmox-4-4-centos-network-dhcp-bug.33687/), the network configurator needs to be fixed asap.
For the internet connection to work, heartbeat requires the gateway to already be set in the interface configuration.
When I set the gateway in the container settings and leave the IP address empty, it is not saved:
Before:

After save:

This means that I need to make an ugly script to set the gateway manually on heartbeat state change.
Given my previous request (Proxmox still uses DHCP even though the interface is configured as Static: https://forum.proxmox.com/threads/proxmox-4-4-centos-network-dhcp-bug.33687/), the network configurator needs to be fixed asap.