summaryrefslogtreecommitdiffstats
path: root/build/overcloud-opendaylight.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-04-28 10:39:59 -0400
committerTim Rozet <trozet@redhat.com>2017-04-28 10:39:59 -0400
commitf50f469ff5db3fd54c49cc932ff7791c406891cf (patch)
treedb6bcab76cda8e58d66be28fc9b1db5483846392 /build/overcloud-opendaylight.sh
parente74b8e1e863e9d0e541a897e5681275cad40db8a (diff)
Migrates quagga install to build time
It is OK to have quagga installed at build time, we just want to avoid enabling it unless quagga is deployed. Change-Id: I41899d697a24976c3b169b3b8f5eef5c0df6bed4 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/overcloud-opendaylight.sh')
-rwxr-xr-xbuild/overcloud-opendaylight.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh
index ca5ee068..4a6738b3 100755
--- a/build/overcloud-opendaylight.sh
+++ b/build/overcloud-opendaylight.sh
@@ -110,6 +110,8 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--run-command "yum downgrade -y python-zmq-14.3.1" \
--install zeromq-4.1.4 \
--install capnproto-libs,capnproto \
+ --run-command "cd /root/quagga; packages=\$(ls |grep -vE 'debuginfo|devel|contrib'); yum -y install \$packages" \
+ --run-command "sudo usermod -a -G quaggavt quagga" \
--upload ${BUILD_ROOT}/patches/neutron-patch-NSDriver.patch:/usr/lib/python2.7/site-packages/ \
--upload ${BUILD_ROOT}/patches/disable_odl_clustering.patch:/etc/puppet/modules/tripleo/ \
--upload ${CACHE_DIR}/odl-netvirt-vpp-distribution.tar.gz:/root/ \