Bug 1572990
| Summary: | hard-coded path to run-os-net-config.sh after converting the nic-configs with yaml-nic-config-2-script.py | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Udi Kalifon <ukalifon> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Emilien Macchi <emacchi> |
| Status: | CLOSED NOTABUG | QA Contact: | Gurenko Alex <agurenko> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 13.0 (Queens) | CC: | aschultz, bfournie, mburns |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-05-01 00:54:07 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Udi Kalifon
2018-04-29 13:59:45 UTC
The script takes an optional parameter to define a relative path for the script file.
By default it will use an absolute path but if you want a relative just define it using --script-dir when using the script.
$ /usr/share/openstack-tripleo-heat-templates/tools/yaml-nic-config-2-script.py --help
usage: yaml-nic-config-2-script.py [-h] [--script-dir <script directory>]
<file> [<file> ...]
Convert an old style NIC config file into the new format using run-os-net-
config.sh
positional arguments:
<file> List of one or more NIC config files to convert
optional arguments:
-h, --help show this help message and exit
--script-dir <script directory>
Relative path to run-os-net-config.sh
|