Bug #1007153
XS should not have the centos repo enabled by quantum this can break the system, also is possible to get the sqlalchemy from epel and avoid unneeded packages on the system. Using epel rpm and leave it disabled after use Change-Id: If6673e59afc545e51df3625d8259ec3fca9aaefb
This commit is contained in:
parent
718c6f1c29
commit
2dc269cb17
@ -7,10 +7,12 @@ if [ ! -d /etc/xapi.d/plugins ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sed -i -e 's/enabled=0/enabled=1/' /etc/yum.repos.d/CentOS-Base.repo
|
||||
rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm
|
||||
|
||||
yum -y install python-setuptools gcc gcc-c++ MySQL-python
|
||||
easy_install pip && pip install sqlalchemy
|
||||
yum --enablerepo=epel -y install python-sqlalchemy0.5
|
||||
yum --enablerepo=base -y install MySQL-python
|
||||
|
||||
sed -i 's/enabled=1/enabled=0' /etc/yum.repos.d/epel.repo
|
||||
|
||||
cp ovs_quantum_agent.py /etc/xapi.d/plugins
|
||||
cp ovs_quantum_plugin.ini /etc/xapi.d/plugins
|
||||
|
Loading…
Reference in New Issue
Block a user