]> git.proxmox.com Git - mirror_ifupdown2.git/commit
config: local addons modules should be loaded first
authorJulien Fortin <julien@cumulusnetworks.com>
Thu, 6 Dec 2018 18:56:50 +0000 (10:56 -0800)
committerJulien Fortin <julien@cumulusnetworks.com>
Thu, 13 Dec 2018 23:18:17 +0000 (15:18 -0800)
commit61da44592d8e7677a64667bcf1c20f4cb09d7046
tree6e71178afaad1fe3becbfd8dacdfb570a44a3cb9
parente7206159edd056ee15f9688a23be0e5a69f63132
config: local addons modules should be loaded first

ifupdown2 can be installed via apt/dpkg or via pypi (pip), those two installation methods have
two different installation directory. Our main installation dir is /usr/share/ifupdown2. This is
also were other scripts might add their own addon.
If ifupdown2 is installed via pypi we need to make sure we are loading the script-added addon modules

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
ifupdown2/ifupdown/config.py