summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-03-14 13:19:24 -0400
committerTim Rozet <trozet@redhat.com>2017-03-15 20:55:02 +0000
commitc6d065f09cddce51f0e56afab1ed2625e0923a0a (patch)
tree1bbe79963aab592452f462bf480fc5c30a9d552d /lib
parent78a9d70f7f6a5b0b0f941c849a9250da2181c428 (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> (cherry picked from commit b72e6fef8f43edefbc34e458b5a87218363ee658)
Diffstat (limited to 'lib')
-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