Browse Source

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
(cherry picked from commit 29614f90a0)
changes/98/694398/1
Nate Johnston 2 years ago
parent
commit
fcabffdc14
  1. 1
      tools/yaml-nic-config-2-script.py

1
tools/yaml-nic-config-2-script.py

@ -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')

Loading…
Cancel
Save