mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-30 02:54:11 +00:00
Add default sysfs settings
This uses the new Alpine sysfs.conf service to allow config of sysfs. Default file that sets transparent huge pages to only be used on request to fix #368 Database setting available for user configuration. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
@@ -10,7 +10,7 @@ start() {
|
||||
ebegin "Configuring host settings from database"
|
||||
|
||||
mobyconfig exists etc/sysctl.conf && mobyconfig get etc/sysctl.conf > /etc/sysctl.conf
|
||||
|
||||
mobyconfig exists etc/sysfs.conf && mobyconfig get etc/sysfs.conf > /etc/sysfs.conf
|
||||
mobyconfig exists etc/resolv.conf && mobyconfig get etc/resolv.conf > /etc/resolv.conf
|
||||
|
||||
mobyconfig exists etc/hosts && mobyconfig get etc/hosts >> /etc/hosts
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
vm.max_map_count = 262144
|
||||
net.core.somaxconn = 1024
|
||||
fs.inotify.max_user_watches = 524288
|
||||
fs.file-max = 524288
|
||||
Reference in New Issue
Block a user