V-add-sys-ip ip created incorrectly

When I add a new IP and restart the container, the Apache2, Nginx and Network services do not work.
After many tests and research I found out what the problem is but I don’t know how to fix it correctly.

Important this happens because I am using a Debian in a proxomox LXC container with OVH floating IPs

I am using Debian and in Debian in /etc/network/interfaces the Hestia IPs with the v-add-sys-ip command are created like this:

iface eth0 inet static
address 123.123.123.123
netmask 255.255.255.255
auto eth0
iface eth0 inet static
address 124.124.124.124
netmask 255.255.255.255
auto eth0

The mistake is that they should go with an increased number like this:

iface eth0:1 inet static
address 123.123.123.123
netmask 255.255.255.255
auto eth0:1
iface eth0:2 inet static
address 124.124.124.124
netmask 255.255.255.255
auto eth0:2

missing in front of hip iface eth0 los :1 :2 :3 etc.

The solution I found is to create a random number and put it in front of the iface.
edit the v-add-sys-ip

from

            sys_ip="\n# Added by Hestia Control Panel"
            sys_ip="$sys_ip\nauto $iface"
            sys_ip="$sys_ip\niface $iface inet static"
            sys_ip="$sys_ip\naddress $ip"
            sys_ip="$sys_ip\nnetmask $netmask"
            echo -e $sys_ip >> /etc/network/interfaces

to

            ran=$(( $RANDOM % 999999 + 99 ));
            sys_ip="\n# Added by Hestia Control Panel"
            sys_ip="$sys_ip\nauto $iface:$ran"
            sys_ip="$sys_ip\niface $iface:$ran inet static"
            sys_ip="$sys_ip\naddress $ip"
            sys_ip="$sys_ip\nnetmask $netmask"
            echo -e $sys_ip >> /etc/network/interfaces