Why does my ethernet interface not get added to my openvswitch bridge on startup, with debian 10.5?
For those struggling the same issue: ifupdown supports pre-up/up/post-up
hooks right in the /etc/network/interfaces
. No surprises with /etc/network/if-post-up.d
# the configuration for eno2 may be completely removed from this file
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
pre-up ip link set eno2 up
pre-up ovs-vsctl add-port vmbr0 eno2