install-undercloud improvements

This commit is contained in:
James Slagle 2014-02-05 20:36:27 -05:00
parent 346a6ab465
commit 344a5d6641
1 changed files with 12 additions and 1 deletions

View File

@ -10,12 +10,23 @@ exec > >(tee $LOGFILE)
exec 2>&1
# Enable icehouse rpm's repo
sudo yum update http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-1.noarch.rpm
sudo yum -y update http://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-1.noarch.rpm
sudo yum -y install python-pip
# Workaround for:
# https://bugzilla.redhat.com/show_bug.cgi?id=1061045
# Go ahead and install mariadb-server, and remove the logfile with wrong
# permissions.
sudo yum -y update mariadb-server
sudo rm -f /var/log/mariadb/mariadb.log
# Upstream dib is fine
if [ ! -d diskimage-builder ]; then
git clone https://git.openstack.org/openstack/diskimage-builder
pushd diskimage-builder
sudo pip install -e .
popd
fi
# We need the undercloud-stack-config branch of tie