Skip to content

Commit

Permalink
Good old DEBIAN_FRONTEND=noninteractive
Browse files Browse the repository at this point in the history
  • Loading branch information
EduardGomezEscandell committed Sep 22, 2023
1 parent f1f061e commit 9363b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion end-to-end/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ func generateTestImage(ctx context.Context, sourceDistro, wslProServiceDebPath s
return "", nil, err
}

out, err = d.Command(ctx, fmt.Sprintf("apt install $(wslpath -ua '%s')", debPath)).CombinedOutput()
out, err = d.Command(ctx, fmt.Sprintf("DEBIAN_FRONTEND=noninteractive apt install -y $(wslpath -ua '%s')", debPath)).CombinedOutput()
if err != nil {
defer cleanup()
return "", nil, fmt.Errorf("could not install wsl-pro-service: %v. %s", err, out)
Expand Down

0 comments on commit 9363b01

Please sign in to comment.