Permalink
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 444 Bytes
#!/bin/bash
# Install keys - some example keys are here: https://github.com/nonfiction/keys
curl -L https://put-keys-here.com/keys >> /home/ubuntu/.ssh/authorized_keys
curl -L https://put-keys-here.com/gitreceive-keys >> /home/git/.ssh/authorized_keys
# Setup domain name.
sed -i '11s/.*/DOMAIN_SUFFIX=\"put-your-domain-name-here\.io\"/' /etc/default/octohost
sed -i '31s/.*/EMAIL_NOTIFICATION=\"sysadmin@example\.com\"/' /etc/default/octohost