How to store openvswitch config

obi3

Member
Dec 12, 2019
9
0
21
38
I try to limit the vlan access to some of my containers by setting
Code:
ovs-vsctl set port veth104i1 trunks=98,100
after restarting the container this config is lost. Please anyone idea how to permanently store openvswitch configuration. Also let me know if there is a way to set trunks through the web interface
 
I have also noticed that every time i reboot the container new uuid is generated for veth104i1 interface. Restarting the host network with
Code:
systemctl networking restart
doesnt affect the ovs configuration.