Files
rancher-docs/content/os/v1.x/en/configuration/sysctl/_index.md
T
2020-04-02 04:49:54 -07:00

495 B

title, weight, aliases
title weight aliases
Sysctl Settings 132
/os/v1.x/en/installation/configuration/sysctl

The rancher.sysctl cloud-config key can be used to control sysctl parameters. This works in a manner similar to /etc/sysctl.conf for other Linux distros.

#cloud-config
rancher:
  sysctl:
    net.ipv4.conf.default.rp_filter: 1

You can either add these settings to your cloud-init.yml, or use sudo ros config merge -i somefile.yml to merge settings into your existing system.