Need to enable the copr repo earlier and use sudo

This commit is contained in:
James Slagle 2015-01-19 14:41:21 -05:00
parent 11c22c9d9e
commit 635a9b2967
1 changed files with 4 additions and 4 deletions

View File

@ -6,6 +6,10 @@ set -o pipefail
sudo rpm -Uvh --force http://rhos-release.virt.bos.redhat.com/repos/rhos-release/rhos-release-latest.noarch.rpm
sudo rhos-release -d 6
# Enable the copr repo for our custom builds
sudo curl -o /etc/yum.repos.d/divius-instack-ironic-nova-epel-7.repo \
https://copr.fedoraproject.org/coprs/divius/instack-ironic-nova/repo/epel-7/divius-instack-ironic-nova-epel-7.repo
sudo yum -y install instack-undercloud # need to get all the instack-undercloud deps
sudo rpm -evh instack-undercloud # the actual rpm is no longer needed
@ -17,7 +21,3 @@ else
echo "WARNING##################################:"
echo "instack-undercloud directory already exists, not recloning"
fi
# Enable the copr repo for our custom builds
curl -o /etc/yum.repos.d/divius-instack-ironic-nova-epel-7.repo \
https://copr.fedoraproject.org/coprs/divius/instack-ironic-nova/repo/epel-7/divius-instack-ironic-nova-epel-7.repo