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:
Derek Higgins 2014-01-13 14:58:19 +00:00
parent 46223e263f
commit 8a2a8c7174
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -1 +0,0 @@
os-refresh-config git /opt/stack/os-refresh-config https://git.openstack.org/openstack/os-refresh-config.git