Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
misc: add a nerd knob to skip a sysctl during the .deb installation
[vpp.git]
/
src
/
pkg
/
debian
/
vpp.postinst
diff --git
a/src/pkg/debian/vpp.postinst
b/src/pkg/debian/vpp.postinst
index
78fcac2
..
71b4f1b
100644
(file)
--- 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.
#!/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#
#DEBHELPER#