Skip to content

Commit

Permalink
Merge pull request #699 from klihub/fixes/e2e/apt-key-fetch-redirects
Browse files Browse the repository at this point in the history
e2e: follow HTTP redirects when fetching apt repo keys.
  • Loading branch information
klihub authored Aug 25, 2021
2 parents 3242f98 + 7c07a82 commit 47ebe90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demo/lib/distro.bash
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ debian-install-repo-key() {
vm-command "apt-get update && apt-get install -y gnupg2"
}
for key in "$@"; do
vm-command "curl -s $key | apt-key add -" ||
vm-command "curl -L -s $key | apt-key add -" ||
command-error "failed to install repo key $key"
done
}
Expand Down

0 comments on commit 47ebe90

Please sign in to comment.