Skip to content

Instantly share code, notes, and snippets.

@peterdemin
peterdemin / install-build-agent.sh
Last active December 22, 2015 15:59 — forked from ianbattersby/gist:4641450
Script meant to be used as vagrant shell provisioner. It doesn't use /vagrant shared folder though. That means it can be launched from any remote debian machine.
#!/bin/bash
# Replace this with actual server address
serverUrl="10.1.136.242:80"
if [ -e "/etc/init.d/teamcity" ]
then
echo "TeamCity allready installed"
exit 0
fi