chore: add auto-apt-proxy to vagrant prepare (#1511)

* chore: add auto-apt-proxy to vagrant prepare

* bypass apt SRV redirections for deb.debian.org
This commit is contained in:
Jonas L 2022-01-13 08:59:51 +01:00 committed by GitHub
parent 0d25a330cf
commit 56a3875e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
#!/usr/bin/env bash
sed --in-place 's/deb\.debian\.org/cdn-fastly.deb.debian.org/g' /etc/apt/sources.list
DEBIAN_FRONTEND=noninteractive apt-get update --allow-releaseinfo-change
DEBIAN_FRONTEND=noninteractive apt-get -y install alsa-utils
DEBIAN_FRONTEND=noninteractive apt-get -y install alsa-utils auto-apt-proxy
usermod -a -G audio vagrant
usermod -a -G audio www-data