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/00/694400/1
Nate Johnston 5 months ago
parent
commit
456f2355f5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tools/yaml-nic-config-2-script.py

+ 1
- 0
tools/yaml-nic-config-2-script.py View File

@@ -229,6 +229,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