chore: improve vagrant debian prepare script (#1850)

- add vim package
- split apt-cacher packages and utils
This commit is contained in:
Jonas L 2022-05-09 12:55:15 +02:00 committed by GitHub
parent 6289b5be6f
commit 87ab49c8b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,11 @@
#!/usr/bin/env bash
# Setup apt-cacher-ng proxy
sed --in-place 's|http://deb\.debian\.org|http://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 auto-apt-proxy
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install auto-apt-proxy
# Install utils
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install alsa-utils vim
usermod -a -G audio vagrant
usermod -a -G audio www-data