2016-06-29 08:56:07 +00:00
|
|
|
#cloud-config
|
|
|
|
|
|
|
|
runcmd:
|
2016-07-25 21:51:53 +00:00
|
|
|
- sudo mount /tmp /tmp -o remount,exec,suid
|
2016-06-29 08:56:07 +00:00
|
|
|
- ETCD_VERSION=v2.2.5
|
|
|
|
- curl -L https://github.com/coreos/etcd/releases/download/${ETCD_VERSION}/etcd-${ETCD_VERSION}-linux-amd64.tar.gz -o /tmp/etcd.tar.gz
|
|
|
|
- tar xzvf /tmp/etcd.tar.gz -C /tmp
|
2016-07-23 00:24:21 +00:00
|
|
|
- cp /tmp/etcd-${ETCD_VERSION}-linux-amd64/etcd* /tmp/
|
|
|
|
- rm -rf /tmp/etcd-${ETCD_VERSION}-linux-amd64/
|
2016-07-25 21:51:53 +00:00
|
|
|
- sudo usermod -a -G docker jenkins
|