Skip to content

Commit

Permalink
fix(goss): add quit and silent to curl/wget for better UI during goss…
Browse files Browse the repository at this point in the history
… download (#96)
  • Loading branch information
FalcoSuessgott committed Jun 22, 2024
1 parent e98d8b1 commit ff4db78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion provisioner/goss/packer-provisioner-goss.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func (p *Provisioner) installGoss(ui packer.Ui, comm packer.Communicator) error
cmd := &packer.RemoteCmd{
// Fallback on wget if curl failed for any reason (such as not being installed)
Command: fmt.Sprintf(
"curl -L %s %s -o %s %s || wget %s %s -O %s %s",
"curl -sL %s %s -o %s %s || wget -q %s %s -O %s %s",
p.sslFlag("curl"), p.userPass("curl"), p.config.DownloadPath, p.config.URL,
p.sslFlag("wget"), p.userPass("wget"), p.config.DownloadPath, p.config.URL),
}
Expand Down

0 comments on commit ff4db78

Please sign in to comment.