diff --git a/ifupdown2/addons/openvswitch.py b/ifupdown2/addons/openvswitch.py index 0a124ba2..8ab086c8 100644 --- a/ifupdown2/addons/openvswitch.py +++ b/ifupdown2/addons/openvswitch.py @@ -157,7 +157,11 @@ def _addbridge (self, ifaceobj): cmd = "--may-exist add-br %s"%(iface) if ovsparent is not None and ovsoptions: - cmd = cmd + " %s" %(ovsoptions) + if ovsoptions.startswith(ovsparent): + # for backwards compatibility to previous bug in parent configuration + cmd = cmd + " %s" %(ovsoptions) + else: + cmd = cmd + " %s %s" %(ovsparent, ovsoptions) cmd_list.append(cmd)