Files
9db3cd1e4d72462eb9303fd917f2d19a823cf4f0
Vladimir Kozhukalov
74ba66568e
Added some infrastructure tools
Copied generate_sample.sh and with_venv.sh scripts from openstack/ironic. Generated sample config. Change-Id: I1beab119499156c711d838a3a1ecc3316b655900
8 lines
218 B
Bash
Executable File
8 lines
218 B
Bash
Executable File
#!/bin/bash
tools_path=${tools_path:-$(dirname 0ドル)}
venv_path=${venv_path:-${tools_path}}
venv_dir=${venv_name:-/../.venv}
TOOLS=${tools_path}
VENV=${venv:-${venv_path}/${venv_dir}}
source ${VENV}/bin/activate && "$@"