Hi,
I’m new to rancherOS, so I might be missing something obvious.
I really like the fact that the system can be configured using cloud-config, but I’m having trouble setting my cloud config such that it changes sysctl values. The relevant part of my config reads:
rancher:
sysctl:
kernel.shmmax: 4294967295
kernel.shmall: 1048575
When adding this to the config via ros config merge -i
, it successfully adds this to my cloud config, but the values are not set when querying them via sysctl -a
, even after a reboot.
I also tried using ros config set
in the following variations, but all of them give me the fatal error “Expected a struct or map but was a at line 90, column 6”.
sudo ros config set rancher.sysctl.kernel.shmmax "['4294967295']"
sudo ros config set rancher.sysctl.kernel.shmmax "[4294967295]"
sudo ros config set rancher.sysctl.kernel.shmmax [4294967295]
sudo ros config set rancher.sysctl.kernel.shmmax "4294967295"
sudo ros config set rancher.sysctl.kernel.shmmax '4294967295'
sudo ros config set rancher.sysctl.kernel.shmmax 4294967295
Apart from this issue, rancherOS works quite well for me so far.
Regards,
Alexander