Install os-refresh-config from release into a venv
We had been installing this from a git repository into the global site-packages. Which is inconsistent with how we install os-apply-config. Change-Id: I1a2167d3e71cc97bd387191b44eb4d59b62ce00c
This commit is contained in:
parent
46223e263f
commit
8a2a8c7174
|
@ -4,9 +4,13 @@
|
|||
|
||||
set -eux
|
||||
|
||||
install-packages git-core python-pip
|
||||
install-packages git-core python-virtualenv
|
||||
|
||||
pip install /opt/stack/os-refresh-config
|
||||
virtualenv --setuptools /opt/stack/venvs/os-refresh-config
|
||||
|
||||
/opt/stack/venvs/os-refresh-config/bin/pip install -U os-refresh-config
|
||||
|
||||
ln -s /opt/stack/venvs/os-refresh-config/bin/os-refresh-config /usr/local/bin/os-refresh-config
|
||||
|
||||
for d in pre-configure.d configure.d migration.d post-configure.d; do
|
||||
install -m 0755 -o root -g root -d /opt/stack/os-config-refresh/$d
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
os-refresh-config git /opt/stack/os-refresh-config https://git.openstack.org/openstack/os-refresh-config.git
|
Loading…
Reference in New Issue