Last active
August 29, 2015 14:23
-
-
Save zikosw/5210ec51935c3e342d29 to your computer and use it in GitHub Desktop.
cloud-config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #cloud-config | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC3WQWXS/ICnLU0X/abycpn6gGFr2d0hN9Sy1HNwE/0ckE48oroOddRnh6CuxCQYvKetVZ8WSrL5uMGkFu08LmSNFnk6qIpEVWAp5J2b0sbjKEPsQ31nydeDjRWHi+wDClDANKmNgm29xpCMjd0P4jWFhm8rwIdGvsOMDygJezs5+VwitQmLOOkhqo16wfb82hzlU86qQiIMg0uF3Sea69qANLYcRDp2JtuVuDw7yuGiP/AY1UkV9TRghu5EKDxorQh57tgYKmvB0ECeu4rzXbOHV0MFWQQJuhvp+r4G+p5+a+mvqj85pGerq5tMofTR7DM69Ft6snCyn/Sl56oNIQZ ionization@hp1 | |
| coreos: | |
| etcd2: | |
| # generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3 | |
| # specify the initial size of your cluster with ?size=X | |
| # WARNING: replace each time you 'vagrant destroy' | |
| discovery: https://discovery.etcd.io/b03caca9c94181177cee5b2161eaf2d6 | |
| advertise-client-urls: http://$public_ipv4:2379,http://$public_ipv4:4001 | |
| initial-advertise-peer-urls: http://$public_ipv4:2380,http://$public_ipv4:7001 | |
| # listen on both the official ports and the legacy ports | |
| # legacy ports can be omitted if your application doesn't depend on them | |
| listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001 | |
| listen-peer-urls: http://$public_ipv4:2380,http://$public_ipv4:7001 | |
| fleet: | |
| public-ip: $public_ipv4 | |
| units: | |
| - name: etcd2.service | |
| command: start | |
| - name: fleet.service | |
| command: start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment