From: pmikus Date: Fri, 5 May 2023 09:04:34 +0000 (+0000) Subject: fix(core): Add vpp log path X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=5efb062fbad4c7710334e8b29f49be8c4d77ac7a fix(core): Add vpp log path Signed-off-by: pmikus Change-Id: I76e47610a0caa8af8e48a295ce08e799280404be --- diff --git a/resources/libraries/python/DUTSetup.py b/resources/libraries/python/DUTSetup.py index 6ebd9eab1a..300248c448 100644 --- a/resources/libraries/python/DUTSetup.py +++ b/resources/libraries/python/DUTSetup.py @@ -660,6 +660,9 @@ class DUTSetup: for node in nodes.values(): message = f"Failed to install VPP on host {node[u'host']}!" if node[u"type"] == NodeType.DUT: + command = "mkdir -p /var/log/vpp/" + exec_cmd(node, command, sudo=True) + command = u"ln -s /dev/null /etc/sysctl.d/80-vpp.conf || true" exec_cmd_no_error(node, command, sudo=True)