mirror of https://github.com/kubernetes/kops.git
Merge pull request #13570 from rifelpet/sysctls
Include sysctls in toolbox dump
This commit is contained in:
commit
bcd8148a32
|
|
@ -290,6 +290,9 @@ func (n *logDumperNode) dump(ctx context.Context) []error {
|
||||||
if err := n.shellToFile(ctx, "cat /etc/hosts", filepath.Join(n.dir, "etchosts")); err != nil {
|
if err := n.shellToFile(ctx, "cat /etc/hosts", filepath.Join(n.dir, "etchosts")); err != nil {
|
||||||
errors = append(errors, err)
|
errors = append(errors, err)
|
||||||
}
|
}
|
||||||
|
if err := n.shellToFile(ctx, "sysctl -a", filepath.Join(n.dir, "sysctls")); err != nil {
|
||||||
|
errors = append(errors, err)
|
||||||
|
}
|
||||||
|
|
||||||
return errors
|
return errors
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue