mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Ticket: CM-13453 Reviewed By: Roopa, Nikhil G, Daniel W Testing Done: ifupdown2-tests We had an issue where python-nlmanager and ifupdown2's nlmanager differed When netd starts it loads ifupdown2's addons, so it also tries to do the imports. Since the current working directy is not /usr/share/ifupdown2 but netd directory it won't load ifupdown2's nlmanager first but python-nlmanager if it exists. Here we insert/hardcode /usr/share/ifupdown2/ first in the path to make sure we load the right nlmanager Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>