summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-05-14 11:20:44 -0400
committerTim Rozet <trozet@redhat.com>2018-05-14 13:14:15 -0400
commit0b5789905915f0468d18aa3c42eb469a331e8315 (patch)
tree87164b30189f7e09aca4a0e46579428e3171f8fd /build/undercloud.sh
parent283bb98ae05b77979f00716d3c9cd3fff6af3651 (diff)
Updates undercloud/centos repo during build phase
Some dependencies are failing to install for undercloud install because the repo has expired on the frozen stable/fraser image. The kernel devel/headers packages are missing in the centos updates repo, so need to specify their location. Change-Id: I878323b01b624c452a06cf5fde40eaae196d91bd Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-xbuild/undercloud.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index 34f22b1b..975730fa 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -37,6 +37,7 @@ populate_cache $calipso_uri_base/$calipso_script
LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \
--run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
--run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
+ --run-command "curl -L -f -o /etc/yum.repos.d/delorean.repo https://trunk.rdoproject.org/centos7-pike/current-tripleo/delorean.repo" \
--upload ${BUILD_DIR}/apex-tripleo-heat-templates.tar.gz:/usr/share \
--install "openstack-utils" \
--install "ceph-common" \