summaryrefslogtreecommitdiffstats
path: root/build/overcloud-opendaylight.sh
diff options
context:
space:
mode:
authorMichael Chapman <michapma@redhat.com>2017-09-29 16:02:50 +1000
committerTim Rozet <trozet@redhat.com>2017-10-05 19:13:27 +0000
commit189b69a875d3eefca2a7eb3fa354b9f4930cbcd7 (patch)
treea1bb0bdd98828c4e4aca2dc00173a8a86622645a /build/overcloud-opendaylight.sh
parent7771d5010b9845576ceb0bbe5ad5f405ed99b871 (diff)
Increase memory size for virt-customize
Some of the bigger commands can exceed the default, so increase all instances for consistency. It's unlikely build machines won't have 4G of memory available. Change-Id: Ifa575b6e6faef9ba038900ab0e080da15d5680aa JIRA: APEX-520 Signed-off-by: Michael Chapman <michapma@redhat.com> (cherry picked from commit 0220094bfe4abdc964f282f4f01190897e3065e4)
Diffstat (limited to 'build/overcloud-opendaylight.sh')
-rwxr-xr-xbuild/overcloud-opendaylight.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/overcloud-opendaylight.sh b/build/overcloud-opendaylight.sh
index 22a539af..ed3f539e 100755
--- a/build/overcloud-opendaylight.sh
+++ b/build/overcloud-opendaylight.sh
@@ -71,7 +71,7 @@ populate_cache http://artifacts.opnfv.org/apex/danube/fdio_netvirt/opendaylight-
# Patch in OPNFV custom puppet-tripleO
# install quagga/zrpc
# upload neutron patch for generic NS linux interface driver + OVS for external networks
-LIBGUESTFS_BACKEND=direct virt-customize \
+LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \
--upload ${BUILD_DIR}/opendaylight_master.repo:/etc/yum.repos.d/opendaylight.repo \
--run-command "mkdir -p /root/master" \
--run-command "yumdownloader --destdir=/root/master opendaylight" \
@@ -101,7 +101,7 @@ if [ "$(uname -i)" == 'x86_64' ]; then
# Download quagga/zrpc rpms
populate_cache http://artifacts.opnfv.org/apex/danube/quagga/quagga-3.tar.gz
-LIBGUESTFS_BACKEND=direct virt-customize \
+LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \
--install zeromq-4.1.4 \
--upload ${CACHE_DIR}/quagga-3.tar.gz:/root/ \
--run-command "cd /root/ && tar xzf quagga-3.tar.gz" \