merge ubuntu and debian provision scripts

This commit is contained in:
Kyle Robbertze 2019-01-18 11:43:18 +02:00
parent 04e155885e
commit 4556318967
2 changed files with 3 additions and 18 deletions

View file

@ -1,15 +0,0 @@
#!/bin/bash
# Install modern alsa module for snd-hda-intel
# slightly modernized from https://github.com/naomiaro/vagrant-alsa-audio
# https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
alsa_deb="oem-audio-hda-daily-dkms_0.201704090301~ubuntu14.04.1_all.deb"
wget -nv https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+files/${alsa_deb}
dpkg -i ${alsa_deb}
rm ${alsa_deb}
DEBIAN_FRONTEND=noninteractive apt-get -y -m --force-yes install alsa
usermod -a -G audio vagrant
# liquidsoap runs as apache
usermod -a -G audio www-data