diff options
author | Markos Chandras <mchandras@suse.de> | 2018-09-20 12:32:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-09-20 12:32:57 +0000 |
commit | 89ddab889df092ac9ed43834af534b9f5dea6b9d (patch) | |
tree | 1e6a6d7fe9d7e3a1583b292cc5b6be7f4e96615c /xci/playbooks | |
parent | f5968f2ad1fe036bfca986ceb8987f7142bc72f8 (diff) | |
parent | b6367aeb802a0032ff08bbf96af590c91c52d43e (diff) |
Merge "xci: Add ability to pass command line options to xci-deploy.sh"
Diffstat (limited to 'xci/playbooks')
-rwxr-xr-x | xci/playbooks/dynamic_inventory.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xci/playbooks/dynamic_inventory.py b/xci/playbooks/dynamic_inventory.py index 9a1624b0..f6e93398 100755 --- a/xci/playbooks/dynamic_inventory.py +++ b/xci/playbooks/dynamic_inventory.py @@ -74,8 +74,8 @@ class XCIInventory(object): self.args = parser.parse_args() def read_pdf_idf(self): - pdf_file = os.path.dirname(os.path.realpath(__file__)) + "/../var/pdf.yml" - idf_file = os.path.dirname(os.path.realpath(__file__)) + "/../var/idf.yml" + pdf_file = os.environ['PDF'] + idf_file = os.environ['IDF'] nodes = [] host_networks = {} |