diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-21 20:05:52 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-21 20:32:57 +0200 |
commit | c1ac0630cfe0ee65569fbe435cc006ade20fed22 (patch) | |
tree | 76ead92cd112daf4025381f43f52437e592ac3c3 /src/conf_mode | |
parent | 689d1824d251ea9fbd81bf0c941dbd36e33ef420 (diff) | |
download | vyos-1x-c1ac0630cfe0ee65569fbe435cc006ade20fed22.tar.gz vyos-1x-c1ac0630cfe0ee65569fbe435cc006ade20fed22.zip |
vrrp: keepalived: T2720: adjust to Jinja2 trim_blocks feature
This is a successor to commit a2ac9fac16e ("vyos.template: T2720: always enable
Jinja2 trim_blocks feature"). It only shifts the whitespaces / indents inside
the keepalived configuration file.
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/vrrp.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/conf_mode/vrrp.py b/src/conf_mode/vrrp.py index 680a80859..2ece792dc 100755 --- a/src/conf_mode/vrrp.py +++ b/src/conf_mode/vrrp.py @@ -17,7 +17,12 @@ import os from sys import exit -from ipaddress import ip_address, ip_interface, IPv4Interface, IPv6Interface, IPv4Address, IPv6Address +from ipaddress import ip_address +from ipaddress import ip_interface +from ipaddress import IPv4Interface +from ipaddress import IPv6Interface +from ipaddress import IPv4Address +from ipaddress import IPv6Address from json import dumps from pathlib import Path |