[pve-devel] [PATCH ifupdown2] config: keep addon_syntax_check=0

Alexandre Derumier aderumier at odiso.com
Fri Sep 13 16:53:20 CEST 2019


It was wrong set to 1, and break openvswitch

Ifupdown2 was 1 by default last year,
and the first version ofpatch was setting to 0.
But ifupdown2 was reverted to 0 in 2019, and I wrongly change the patch to 1.

So now, it's default to 0 , no need to patch it.

Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
---
 debian/patches/pve/0008-config-tuning.patch | 27 ++++++---------------
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/debian/patches/pve/0008-config-tuning.patch b/debian/patches/pve/0008-config-tuning.patch
index 5ea7781..9967a94 100644
--- a/debian/patches/pve/0008-config-tuning.patch
+++ b/debian/patches/pve/0008-config-tuning.patch
@@ -1,34 +1,20 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From 0863f43ed0621cf9cff0955c738d5e795daf76f5 Mon Sep 17 00:00:00 2001
 From: Alexandre Derumier <aderumier at 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 at proxmox.com>
+Signed-off-by: Alexandre Derumier <aderumier at odiso.com>
 ---
- etc/network/ifupdown2/ifupdown2.conf | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ etc/network/ifupdown2/ifupdown2.conf | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/etc/network/ifupdown2/ifupdown2.conf b/etc/network/ifupdown2/ifupdown2.conf
-index e05c35f..2d2c177 100644
+index e05c35f..47898b2 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
@@ -38,3 +24,6 @@ index e05c35f..2d2c177 100644
  
  # ifquery check status strings.
  # By default `ifquery --check` prints the check and
+-- 
+2.20.1
+
-- 
2.20.1




More information about the pve-devel mailing list