From c91f5ada9bf537ed47a53d0615e8e40d63ba5418 Mon Sep 17 00:00:00 2001 From: mitchell Date: Mon, 5 Aug 2024 11:01:45 -0400 Subject: [PATCH] Remote installer should forward "--force" to installer. --- cmd/state-remote-installer/main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/state-remote-installer/main.go b/cmd/state-remote-installer/main.go index e7991845d7..c5c08b4fb5 100644 --- a/cmd/state-remote-installer/main.go +++ b/cmd/state-remote-installer/main.go @@ -216,6 +216,9 @@ func execute(out output.Outputer, prompt prompt.Prompter, cfg *config.Instance, if params.nonInteractive { args = append(args, "-n") // forward to installer } + if params.force { + args = append(args, "--force") // forward to installer + } env := []string{ constants.InstallerNoSubshell + "=true", }