Comment 5 for bug 1722864

Revision history for this message
wes hayutin (weshayutin) wrote :

this is the command that's used to build the images:

#!/bin/bash
# script to build overcloud images

set -eux

sudo yum -y install python-tripleoclient

export DIB_YUM_REPO_CONF=""
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF $(ls /etc/yum.repos.d/delorean*)"
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF $(ls /etc/yum.repos.d/CentOS-Ceph-*)"
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF $(ls /etc/yum.repos.d/centos-*)"
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF $(ls /etc/yum.repos.d/quickstart-*)"
export DIB_YUM_REPO_CONF="$DIB_YUM_REPO_CONF $(ls /home/jenkins/web-gating.repo)"

openstack overcloud image build \
--config-file /usr/share/tripleo-common/image-yaml/overcloud-images-centos7.yaml \
--config-file /usr/share/tripleo-common/image-yaml/overcloud-images.yaml \