Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cloud-config
- hostname: CoreOS1
- ssh_authorized_keys: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKAr9QV5Rb308Tii8URfnXVJdtFyJt4ej5FkXWON1/mAko/6VqWtvQetZ0JnRnpLfUT/7udLx1CJZzJOYDNHVzqZO72w0Vl9lJb5vcqhLCIyYiSqr8hq14gUBnC5Fj1FvmSdy3dDUHtvaIE3P7URJwM0I1b5WzDz9/Md3AMbBbSafYQmdp9X7tsmayy8/FU27jrOD6bUiGGuiFtCnFC1unFzgaVEoaK9wMNmwZ9DNFDnoXGgBW1o7ZU9rzlSwkZ64Jh/ob7flxBAyMxn52sREQ46n9lnuavkeHea+ObkSHh4GYkw4Tpw9eqER1MrrS6LvSoB9HEYYgK1li5e74/f8x info@Max-Pc
- 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
- discovery: https://discovery.etcd.io/32d4c806bb2ac669109e4c16d1030b45
- # multi-region and multi-cloud deployments need to use $public_ipv4
- advertise-client-urls: http://$private_ipv4:2379,http://$private_ipv4:4001
- initial-advertise-peer-urls: http://$private_ipv4:2380
- # 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://$private_ipv4:2380
- units:
- - name: etcd2.service
- command: start
- - name: fleet.service
- command: start
- - name: flanneld.service
- drop-ins:
- - name: 50-network-config.conf
- content: |
- [Service]
- ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{ "Network": "10.1.0.0/16" }'
- command: start
- passwd:
- users:
- - name: core
- ssh_authorized_keys:
- - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKAr9QV5Rb308Tii8URfnXVJdtFyJt4ej5FkXWON1/mAko/6VqWtvQetZ0JnRnpLfUT/7udLx1CJZzJOYDNHVzqZO72w0Vl9lJb5vcqhLCIyYiSqr8hq14gUBnC5Fj1FvmSdy3dDUHtvaIE3P7URJwM0I1b5WzDz9/Md3AMbBbSafYQmdp9X7tsmayy8/FU27jrOD6bUiGGuiFtCnFC1unFzgaVEoaK9wMNmwZ9DNFDnoXGgBW1o7ZU9rzlSwkZ64Jh/ob7flxBAyMxn52sREQ46n9lnuavkeHea+ObkSHh4GYkw4Tpw9eqER1MrrS6LvSoB9HEYYgK1li5e74/f8x info@Max-Pc
- password_hash: "$1$xyz$jAlmRpcFe.aiPOIXET9GG/"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement