From 5b5074c3f2b7bb8d87af85d3ef5adead6363f903 Mon Sep 17 00:00:00 2001 From: Yuki Kajiura <14867794+kajiuray@users.noreply.github.com> Date: Sun, 5 Jun 2022 18:42:42 +0900 Subject: http-api: T4459: Fix to set VRF in http(s) service The http service doesn't use VRF info in conf mode. Even if users set any VRF, the info isn't propagated to the process. This commit set VRF parameter in http service. --- src/conf_mode/https.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py index 96c50b4b5..1e58bb1e4 100755 --- a/src/conf_mode/https.py +++ b/src/conf_mode/https.py @@ -142,6 +142,10 @@ def get_config(config=None): 'api_set': api_set, 'certbot': certbot} + vrf_path = ['service', 'https', 'vrf'] + if conf.exists(vrf_path): + https['vrf'] = conf.return_value(vrf_path) + return https def verify(https): -- cgit v1.2.3