Add ../network/scripts/ to search path for run-os-net-config.sh

In some customer deployments, the run-os-net-config.sh script exists at
the relative path ../network/scripts/ so add that to the path search.

Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1724165

Change-Id: Ic9e9a2f0f5821805790aadb9f553c9ccadb35cab
This commit is contained in:
Nate Johnston 2019-08-26 14:57:56 -04:00
parent 08a6b6cf52
commit 29614f90a0
1 changed files with 1 additions and 0 deletions

View File

@ -230,6 +230,7 @@ for base_path in opts.files:
# path relative to NIC config files
script_paths = [opts.script_dir]
script_paths.append('../../scripts/run-os-net-config.sh')
script_paths.append('../network/scripts/run-os-net-config.sh')
script_paths.append(
'/usr/share/openstack-tripleo-heat-templates/network/scripts/run-os-net-config.sh')