mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
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 <roopa@cumulusnetworks.com>
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user