kubeadm: removed preflight check for touch on Linux nodes.

Signed-off-by: carlory <baofa.fan@daocloud.io>
This commit is contained in:
carlory 2024-12-20 11:28:24 +08:00
parent a4b8a3b2e3
commit 4396511e43

View File

@ -84,7 +84,6 @@ func addExecChecks(checks []Checker, execer utilsexec.Interface, k8sVersion stri
checks = append(checks,
InPathCheck{executable: "mount", mandatory: true, exec: execer},
InPathCheck{executable: "nsenter", mandatory: true, exec: execer},
InPathCheck{executable: "touch", mandatory: false, exec: execer})
InPathCheck{executable: "nsenter", mandatory: true, exec: execer})
return checks
}