aboutsummaryrefslogtreecommitdiffstats
path: root/src/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg')
-rw-r--r--src/pkg/debian/vpp.postinst6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/pkg/debian/vpp.postinst b/src/pkg/debian/vpp.postinst
index 78fcac226a8..71b4f1b2c58 100644
--- a/src/pkg/debian/vpp.postinst
+++ b/src/pkg/debian/vpp.postinst
@@ -1,7 +1,11 @@
#!/bin/sh -e
# try to set the required values now. This may or may not work.
-sysctl --system
+# Allow for a nerd knob to skip this, e.g. during the container installs
+if [ -z "${VPP_INSTALL_SKIP_SYSCTL}" ]
+then
+ sysctl --system
+fi
#DEBHELPER#