summaryrefslogtreecommitdiffstats
path: root/lib/virtual-setup-functions.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-08-15 14:50:24 -0400
committerTim Rozet <trozet@redhat.com>2016-08-15 14:50:24 -0400
commitd4015fe0ec5b5d2fa42ad4d98181364a78f58285 (patch)
treeea7cbdd8bb8dd56950e73bd575a349dae0850d01 /lib/virtual-setup-functions.sh
parent7bc81629e67d747cc362056669070f856494fe01 (diff)
Increases RAM for controller in ODL NoHA
JIRA: APEX-234 Change-Id: Ieb055d5de33177dd6f6b5286f3ff1608d62fbf60 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'lib/virtual-setup-functions.sh')
-rwxr-xr-xlib/virtual-setup-functions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/virtual-setup-functions.sh b/lib/virtual-setup-functions.sh
index ed4d4dfd..abff25e4 100755
--- a/lib/virtual-setup-functions.sh
+++ b/lib/virtual-setup-functions.sh
@@ -45,7 +45,7 @@ EOF
VM_COMPUTES=$((VM_COMPUTES - 1))
else
capability="profile:control"
- if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && "$ha_enabled" == "True" && "$ramsize" -lt 10240 ]]; then
+ if [[ "${deploy_options_array['sdn_controller']}" == 'opendaylight' && "$ramsize" -lt 10240 ]]; then
echo "WARN: RAM per controller too low. OpenDaylight specified in HA deployment requires at least 10GB"
echo "INFO: Increasing RAM per controller to 10GB"
ramsize=10240