acidcrash

Untitled

Jun 24th, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 1.28 KB | None | 0 0
  1. #cloud-config
  2.  
  3. ssh_authorized_keys:
  4. - ssh-rsa AAAAB3NzaC1yc...
  5.  
  6. coreos:
  7.   update:
  8.     reboot-strategy: off
  9.   etcd2:
  10.    # generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
  11.     name: etcd-cluster-100
  12.     advertise-client-urls: http://192.168.111.100:2379
  13.     initial-advertise-peer-urls: http://192.168.111.100:2380
  14.     listen-client-urls: http://192.168.111.100:2379
  15.     listen-peer-urls: http://192.168.111.100:2380
  16.     initial-cluster: etcd-cluster-100=http://192.168.111.100:2380,etcd-cluster-101=http://192.168.111.101:2380,etcd-cluster-102=http://192.168.111.102:2380
  17.     initial-cluster-state: existing
  18.   fleet:
  19.       etcd_servers: http://192.168.111.100:2379,http://192.168.111.101:2379,http://192.168.111.102:2379
  20.       metadata: "role=etcd"
  21.   units:
  22.     - name: etcd2.service
  23.       command: start
  24.     - name: fleet.socket
  25.       command: start
  26.       drop-ins:
  27.       - name: 30-ListenStream.conf
  28.       content: |
  29.        [Socket]
  30.         ListenStream=192.168.111.100:49153
  31.     - name: fleet.service
  32.       command: start
  33.     - name: 00-eth0.network
  34.       runtime: true
  35.       content: |
  36.        [Match]
  37.         Name=eth0
  38.         [Network]
  39.         DNS=8.8.8.8
  40.         Address=192.168.111.100/24
  41.         Gateway=192.168.111.1
Advertisement
Add Comment
Please, Sign In to add comment