Fix os-svc-install outside of boot-stack.
os-svc-install is meant for any image, not just those installing a new cloud, but it was only working so far because we've only been building boot-stack images routinely. Fix bug 1198701. Change-Id: I4fd170333bb36b5bf9b0c33e224c43db2d4235f5
This commit is contained in:
parent
c9eeb05d29
commit
55a73361ff
|
@ -21,8 +21,6 @@ git clone https://github.com/stackforge/diskimage-builder.git /opt/stack/diskima
|
|||
|
||||
# db
|
||||
install-packages mysql-server python-mysqldb
|
||||
# required to build MySQL-pyton
|
||||
install-packages libmysqlclient-dev
|
||||
|
||||
my_cnf=
|
||||
if [ -f /etc/mysql/my.cnf ]; then
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -eux
|
||||
|
||||
install-packages python-pip
|
||||
# Mysqlclient-dev is needed for MySQL-python which os-svc-install installs.
|
||||
install-packages python-pip libmysqlclient-dev
|
||||
|
||||
pip install -U distribute # required by virtualenv
|
||||
pip install virtualenv
|
Loading…
Reference in New Issue