mirror of
https://github.com/nikdoof/grumble.git
synced 2025-12-13 08:42:15 +00:00
Add basic Vagrant configuration to build our dev environment.
This commit is contained in:
15
.vagrant/provision.sh
Normal file
15
.vagrant/provision.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
export DEBIAN_FRONTEND noninteractive
|
||||
echo "APT::Get::Install-Recommends \"0\";" >> /etc/apt/apt.conf.d/99local
|
||||
echo "APT::Get::Install-Suggests \"0\";" >> /etc/apt/apt.conf.d/99local
|
||||
echo 'DPkg::Post-Invoke {"/bin/rm -f /var/cache/apt/archives/*.deb || true";};' | tee /etc/apt/apt.conf.d/no-cache
|
||||
apt-get -qq update
|
||||
apt-get install -y python-software-properties
|
||||
add-apt-repository ppa:mumble/release
|
||||
apt-get install -y mumble-server python-zeroc-ice zeroc-ice python-pip git-core
|
||||
|
||||
pip install -r /vagrant/requirements.txt
|
||||
|
||||
sed -i 's/^icesecretwrite=$/icesecretwrite=test/g' /etc/mumble-server.ini
|
||||
/etc/init.d/mumble-server restart
|
||||
Reference in New Issue
Block a user