From af6c6e783403978273208a45c137c273935604fb Mon Sep 17 00:00:00 2001 From: Johannes Kastl Date: Fri, 7 Jan 2022 11:57:28 +0100 Subject: [PATCH] cmd/kured/main.go: Fix path to systemctl Signed-off-by: Johannes Kastl --- cmd/kured/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/kured/main.go b/cmd/kured/main.go index a6b1c0e..a490348 100644 --- a/cmd/kured/main.go +++ b/cmd/kured/main.go @@ -163,7 +163,7 @@ func main() { "Taint name applied during pending node reboot (to prevent receiving additional pods from other rebooting nodes). Disabled by default. Set e.g. to \"weave.works/kured-node-reboot\" to enable tainting.") flag.StringVar(&rebootSentinelCommand, "reboot-sentinel-command", "", "command for which a zero return code will trigger a reboot command") - flag.StringVar(&rebootCommand, "reboot-command", "/bin/systemctl reboot", + flag.StringVar(&rebootCommand, "reboot-command", "/usr/bin/systemctl reboot", "command to run when a reboot is required") flag.IntVar(&concurrency, "concurrency", 1, "amount of nodes to concurrently reboot. Defaults to 1")