This commit is contained in:
aynic.os
2021-05-22 02:34:24 +02:00
parent e4deca629e
commit 908232e85f
8 changed files with 26 additions and 30 deletions
-1
View File
@@ -4,7 +4,6 @@
.PHONY: setup-sysctl
setup-sysctl:
ifeq ($(SETUP_SYSCTL),true)
$(call docker-run,--privileged alpine:latest,/bin/sh -c 'echo never > /sys/kernel/mm/transparent_hugepage/enabled ||:' >/dev/null)
$(foreach config,$(SETUP_SYSCTL_CONFIG),$(call docker-run,--privileged alpine:latest,sysctl -q -w $(config)) &&) true
endif