From ec205cb3f8b05dc94aede0b0121f360320a314f9 Mon Sep 17 00:00:00 2001 From: Roopa Prabhu Date: Mon, 1 Feb 2016 13:28:54 -0800 Subject: [PATCH] policymanager: fix default policy file paths Change policy manager default policy file location: from /var/lib/ifupdownaddons/policy.d to /var/lib/ifupdown2/policy.d This aligns well with the user policy file location: /etc/network/ifupdown2/policy.d/ Fixes 59dad2ca80("debian: sync debian files with from upstream debian repo") Signed-off-by: Roopa Prabhu --- ifupdown/policymanager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ifupdown/policymanager.py b/ifupdown/policymanager.py index 2f9cbac..c29f22c 100644 --- a/ifupdown/policymanager.py +++ b/ifupdown/policymanager.py @@ -43,7 +43,7 @@ class policymanager(): # the defaults_policy is checked first user_files = glob.glob('/etc/network/ifupdown2/policy.d/*.json') # grab the default module files - default_files = glob.glob('/var/lib/ifupdownaddons/policy.d/*.json') + default_files = glob.glob('/var/lib/ifupdown2/policy.d/*.json') # keep an array of defaults indexed by module name self.system_policy_array = {} for filename in default_files: