Update vagrant script to use SHA-256 for apt

This commit is contained in:
Sebastian Serth
2021-07-12 14:09:35 +02:00
parent a1874f791b
commit d576136846

View File

@ -10,6 +10,12 @@ ruby_version=2.7.2
DISTRO="$(lsb_release -cs)"
# Disable any optimizations for comparing checksums.
# Otherwise, a hash collision might prevent apt to work correctly
# https://askubuntu.com/a/1242739
sudo mkdir -p /etc/gcrypt
echo all | sudo tee /etc/gcrypt/hwf.deny
# Prerequisites
sudo apt -qq update
sudo apt -qq -y install apt-transport-https ca-certificates curl gnupg-agent software-properties-common firefox firefox-geckodriver libpq-dev libicu-dev