hacks/provision.workbox/cloud-init.sh

15 lines
373 B
Bash
Raw Normal View History

#!/bin/bash
2018-03-06 21:04:21 +00:00
2018-03-06 21:27:31 +00:00
# fetch and run this in cloud-init, viz:
2018-03-06 21:04:21 +00:00
2018-03-06 21:27:31 +00:00
##cloud-config
#runcmd:
2018-03-06 22:51:11 +00:00
# - curl -fsSL https://raw.githubusercontent.com/sneak/hacks/master/provision.workbox/cloud-init.sh | bash
2018-03-06 22:07:09 +00:00
2018-03-06 21:27:31 +00:00
export DEBIAN_FRONTEND=noninteractive
2018-03-06 21:04:21 +00:00
apt-get update
2018-03-06 22:48:09 +00:00
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