fixes for vagrant and new go dep lockfile

This commit is contained in:
Jakob Schrettenbrunner
2018-02-20 23:38:47 +01:00
parent 501409827e
commit 5836c320ff
2 changed files with 60 additions and 58 deletions

View File

@@ -3,8 +3,8 @@
echo "Provisioning development environment for Pterodactyl go daemon."
cp /home/vagrant/go/github.com/pterodactyl/wings.go/.dev/vagrant/motd.txt /etc/motd
chown -R ubuntu:ubuntu /home/vagrant/go
chown -R ubuntu:ubuntu /srv
chown -R vagrant:vagrant /home/vagrant/go
chown -R vagrant:vagrant /srv
echo "Update apt repositories"
sudo add-apt-repository ppa:longsleep/golang-backports
@@ -13,7 +13,7 @@ apt-get update > /dev/null
echo "Install docker"
curl -sSL https://get.docker.com/ | sh
systemctl enable docker
usermod -aG docker ubuntu
usermod -aG docker vagrant
echo "Install go"
apt-get install -y golang-go