summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-03-14 13:19:24 -0400
committerFeng Pan <fpan@redhat.com>2017-03-14 13:19:24 -0400
commitb72e6fef8f43edefbc34e458b5a87218363ee658 (patch)
treec0ea09414ac7f0ac3def4a5eec1d8f19fe19d973
parent7d994a3c3e18227c26bf58049e4d5780144ecf98 (diff)
Remove 80-vpp.conf for odl_l2-fdio scenario
We remove and reinstall VPP package for odl_l2-fdio scenario, but we never removed 80-vpp.conf file during the reinstall, causing hugepage always being set to 1024. JIRA: APEX-399 Change-Id: Ifda525517318e4797e4f7809730602ca59b7b6bc Signed-off-by: Feng Pan <fpan@redhat.com>
-rwxr-xr-xlib/overcloud-deploy-functions.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh
index 4d4b7647..02145bed 100755
--- a/lib/overcloud-deploy-functions.sh
+++ b/lib/overcloud-deploy-functions.sh
@@ -198,6 +198,7 @@ EOI
ssh -T ${SSH_OPTIONS[@]} "stack@$UNDERCLOUD" <<EOI
LIBGUESTFS_BACKEND=direct virt-customize --run-command "yum -y remove opendaylight vpp vpp-devel vpp-api-python vpp-lib vpp-plugins honeycomb" \
--run-command "yum -y install /root/fdio_l2/*.rpm" \
+ --run-command "rm -f /etc/sysctl.d/80-vpp.conf" \
-a overcloud-full.qcow2
EOI
fi