Add a tripleo passthrough script to make the install from packages so that we can reuse more of the instack scripts
This commit is contained in:
parent
b106b567b5
commit
74c5a1bfc7
14
scripts/tripleo
Executable file
14
scripts/tripleo
Executable file
@ -0,0 +1,14 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import subprocess
|
||||
import sys
|
||||
|
||||
command = sys.argv[1:]
|
||||
instack_root = os.environ.get("INSTACK_ROOT", os.getcwd())
|
||||
command[0] = "%s/tripleo-incubator/scripts/%s" % (instack_root, command[0])
|
||||
|
||||
os.environ["PATH"] = "%s/tripleo-incubator/scripts:%s" % \
|
||||
(instack_root, os.environ["PATH"])
|
||||
|
||||
sys.exit(subprocess.call(command))
|
Loading…
x
Reference in New Issue
Block a user