]> git.proxmox.com Git - ifupdown2.git/commitdiff
re-add config tuning patch lost during upgrade to 1.2.8
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Aug 2019 04:53:13 +0000 (06:53 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 30 Aug 2019 04:58:41 +0000 (06:58 +0200)
Reported-by: Mira Limbeck <m.limbeck@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/patches/pve/0001-don-t-remove-tap-veth-fwpr-interfaces-from-bridge-on.patch
debian/patches/pve/0004-allow-vlan-subinterface-in-a-vlan-aware-bridge.patch
debian/patches/pve/0008-config-tuning.patch [new file with mode: 0644]
debian/patches/series

index 01a0a904a3795af841d6e4039773eadbb2588b96..8e0e7bf5e7e56ec9b9a9a922ca5ddad80daf9796 100644 (file)
@@ -1,4 +1,4 @@
-From f01a763647fa21b6192a94f184dd7d9d772b4e9e Mon Sep 17 00:00:00 2001
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier@odiso.com>
 Date: Wed, 16 May 2018 02:11:45 +0200
 Subject: [PATCH] don't remove (tap|veth|fwpr) interfaces from bridge on ifup
@@ -34,6 +34,3 @@ index 3e5fd78..bd597d7 100644
          if bridge_port_condone_regex:
              if get_string:
                  return bridge_port_condone_regex
--- 
-2.20.1
-
index e597f650da1dd3eccb1080841773916eb665571f..7b66c3c8b17a740fed9e1110b6f84bbf751b362d 100644 (file)
@@ -29,7 +29,7 @@ Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
  1 file changed, 5 deletions(-)
 
 diff --git a/ifupdown2/addons/bridge.py b/ifupdown2/addons/bridge.py
-index f40e2e7..ebe2f7b 100644
+index bd597d7..16862b7 100644
 --- a/ifupdown2/addons/bridge.py
 +++ b/ifupdown2/addons/bridge.py
 @@ -790,11 +790,6 @@ class bridge(moduleBase):
diff --git a/debian/patches/pve/0008-config-tuning.patch b/debian/patches/pve/0008-config-tuning.patch
new file mode 100644 (file)
index 0000000..5ea7781
--- /dev/null
@@ -0,0 +1,40 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Alexandre Derumier <aderumier@odiso.com>
+Date: Mon, 31 Dec 2018 10:49:48 +0100
+Subject: [PATCH] config tuning
+
+allow ovs_... options:
+ addon_syntax_check=0
+
+multiple_vlan_aware_bridge_support=1
+
+don't shutdown tap, veth, vmbrvX, fwbr on reload
+(as they are not defined in /etc/network/interfaces)
+
+Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
+---
+ etc/network/ifupdown2/ifupdown2.conf | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/etc/network/ifupdown2/ifupdown2.conf b/etc/network/ifupdown2/ifupdown2.conf
+index e05c35f..2d2c177 100644
+--- a/etc/network/ifupdown2/ifupdown2.conf
++++ b/etc/network/ifupdown2/ifupdown2.conf
+@@ -29,7 +29,7 @@ disable_cli_interfacesfile=0
+ # are used. But when a mix of scripts and modules are used (which is the
+ # default case), you may get false warnings for attributes supported
+ # by scripts
+-addon_syntax_check=0
++addon_syntax_check=1
+ # Support executing of ifupdown style scripts.
+ # Note that by default python addon modules override scripts with the same
+@@ -42,7 +42,7 @@ addon_python_modules_support=1
+ # By default ifupdown2 only supports a single vlan filtering bridge
+ # on the system. Set this flag to 1 to support multiple vlan
+ # filtering bridges
+-multiple_vlan_aware_bridge_support=0
++multiple_vlan_aware_bridge_support=1
+ # ifquery check status strings.
+ # By default `ifquery --check` prints the check and
index 0d7ac4bbb5aa69ef23f1eeafa3eaf0be928e3fba..feea3bc086a05d81cf0f2afc1a7cba4c4f3a4469 100644 (file)
@@ -5,3 +5,4 @@ pve/0004-allow-vlan-subinterface-in-a-vlan-aware-bridge.patch
 pve/0005-don-t-remove-bridge-is-tap-veth-are-still-plugged.patch
 pve/0006-add-uplink-id-option.patch
 pve/0007-ifreload-down-up-vxlan-interfaces-when-ifreload_down.patch
+pve/0008-config-tuning.patch