hacks/provision.workbox/cloud-init.sh
2018-03-06 17:51:11 -05:00

15 lines
373 B
Bash

#!/bin/bash
# fetch and run this in cloud-init, viz:
##cloud-config
#runcmd:
# - curl -fsSL https://raw.githubusercontent.com/sneak/hacks/master/provision.workbox/cloud-init.sh | bash
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get -y install git
git clone https://github.com/sneak/hacks.git /var/tmp/hacks
cd /var/tmp/hacks/provision-workbox
bash main.sh