var (
// ExecScript is a function for executing the formatting script.// Exposed for testing.
ExecScript = func(scriptPath string) ([]byte, error) {
return exec.Command("/usr/bin/env", "bash", scriptPath).CombinedOutput()
}
)
Bootstrap bootstraps the gardener-node-agent by adding and starting its systemd unit and afterward disabling the
gardener-node-init. If `kubeletDataVolumeSize` is non-zero, it formats the data device.