Skip to content

Commit

Permalink
Remote installer should forward "--force" to installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchell-as committed Aug 5, 2024
1 parent 8765ef5 commit c91f5ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/state-remote-installer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
Expand Down

0 comments on commit c91f5ad

Please sign in to comment.