1
0
mirror of https://github.com/rancher/os.git synced 2025-09-01 06:40:31 +00:00

Add sysctl support in cloud config

This commit is contained in:
Josh Curl
2016-06-17 23:05:45 -07:00
parent eb0c262ef7
commit 921c00c8ea
5 changed files with 39 additions and 0 deletions

View File

@@ -206,6 +206,9 @@ func amendNils(c *CloudConfig) *CloudConfig {
if t.Rancher.RegistryAuths == nil {
t.Rancher.RegistryAuths = map[string]types.AuthConfig{}
}
if t.Rancher.Sysctl == nil {
t.Rancher.Sysctl = map[string]string{}
}
return &t
}