From 8c8358f488ae5901d1c4ab52b422cf132c2dabe6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 5 Feb 2022 20:13:04 +0100 Subject: vrrp: T4226: transition-script does not work for groups containing a hypen (-) (cherry picked from commit 11a900e706db59459314622050ced7d4117f090b) --- src/system/keepalived-fifo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/system') diff --git a/src/system/keepalived-fifo.py b/src/system/keepalived-fifo.py index b1fe7e43f..a8df232ae 100755 --- a/src/system/keepalived-fifo.py +++ b/src/system/keepalived-fifo.py @@ -71,7 +71,8 @@ class KeepalivedFifo: # Read VRRP configuration directly from CLI self.vrrp_config_dict = conf.get_config_dict(base, - key_mangling=('-', '_'), get_first_key=True) + key_mangling=('-', '_'), get_first_key=True, + no_tag_node_value_mangle=True) logger.debug(f'Loaded configuration: {self.vrrp_config_dict}') except Exception as err: -- cgit v1.2.3