Use EPEL for debootstrap on centos

I747c2b8754effbc6ec82af3bf7543fd9599a6c14 removed the
centos-openstack-octata repos from the base image.  We were previously
getting debootstrap from there, so this broke the centos-7 based jobs.
Enable EPEL for the install so we use that version of debootstrap.

Additionally we noticed that dpkg wasn't installed on the build host
either, but is actually required (calls were silently failing ... a
problem for another day).  Add this.

Change-Id: I1e9db5130a05a004c3c877d1444d7097023c06e2
This commit is contained in:
K Jonathan Harker 2017-11-27 16:16:42 -08:00 committed by Ian Wienand
parent 8133166a63
commit bce29e5c22
1 changed files with 2 additions and 1 deletions

View File

@ -17,8 +17,9 @@ sudo apt-get install -y --force-yes \
rpm \
uuid-runtime \
yum-utils || \
sudo yum -y install \
sudo yum -y install --enablerepo=epel \
bzip2 \
dpkg \
debootstrap \
docker \
kpartx \