Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. #cloud-config
  2.  
  3. hostname: CoreOS1
  4. ssh_authorized_keys: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKAr9QV5Rb308Tii8URfnXVJdtFyJt4ej5FkXWON1/mAko/6VqWtvQetZ0JnRnpLfUT/7udLx1CJZzJOYDNHVzqZO72w0Vl9lJb5vcqhLCIyYiSqr8hq14gUBnC5Fj1FvmSdy3dDUHtvaIE3P7URJwM0I1b5WzDz9/Md3AMbBbSafYQmdp9X7tsmayy8/FU27jrOD6bUiGGuiFtCnFC1unFzgaVEoaK9wMNmwZ9DNFDnoXGgBW1o7ZU9rzlSwkZ64Jh/ob7flxBAyMxn52sREQ46n9lnuavkeHea+ObkSHh4GYkw4Tpw9eqER1MrrS6LvSoB9HEYYgK1li5e74/f8x info@Max-Pc
  5.  
  6. coreos:
  7. etcd2:
  8. # generate a new token for each unique cluster from https://discovery.etcd.io/new?size=3
  9. # specify the initial size of your cluster with ?size=X
  10. discovery: https://discovery.etcd.io/32d4c806bb2ac669109e4c16d1030b45
  11. # multi-region and multi-cloud deployments need to use $public_ipv4
  12. advertise-client-urls: http://$private_ipv4:2379,http://$private_ipv4:4001
  13. initial-advertise-peer-urls: http://$private_ipv4:2380
  14. # listen on both the official ports and the legacy ports
  15. # legacy ports can be omitted if your application doesn't depend on them
  16. listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
  17. listen-peer-urls: http://$private_ipv4:2380
  18. units:
  19. - name: etcd2.service
  20. command: start
  21. - name: fleet.service
  22. command: start
  23. - name: flanneld.service
  24. drop-ins:
  25. - name: 50-network-config.conf
  26. content: |
  27. [Service]
  28. ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{ "Network": "10.1.0.0/16" }'
  29. command: start
  30. passwd:
  31. users:
  32. - name: core
  33. ssh_authorized_keys:
  34. - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKAr9QV5Rb308Tii8URfnXVJdtFyJt4ej5FkXWON1/mAko/6VqWtvQetZ0JnRnpLfUT/7udLx1CJZzJOYDNHVzqZO72w0Vl9lJb5vcqhLCIyYiSqr8hq14gUBnC5Fj1FvmSdy3dDUHtvaIE3P7URJwM0I1b5WzDz9/Md3AMbBbSafYQmdp9X7tsmayy8/FU27jrOD6bUiGGuiFtCnFC1unFzgaVEoaK9wMNmwZ9DNFDnoXGgBW1o7ZU9rzlSwkZ64Jh/ob7flxBAyMxn52sREQ46n9lnuavkeHea+ObkSHh4GYkw4Tpw9eqER1MrrS6LvSoB9HEYYgK1li5e74/f8x info@Max-Pc
  35. password_hash: "$1$xyz$jAlmRpcFe.aiPOIXET9GG/"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement