I have set up a container with 2 nic (namely eth0, eth1) bridged to 2 different interfaces.
nic eth0 is the main communication interface for the container.
nic eth1 is an on-demand interface, which should be disabled on boot up and enable using command
ip link set eth1 up.
However, I couldn’t set the interface eth1 to be disabled on container boot up. Any ideas how can I configure it to achieve this goal?
echo “iface eth1 inet manual” >> /etc/network/interfaces on the container and it’s not working.