Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sample cloud-config for DO
#cloud-config
coreos:
units:
- name: etcd.service
command: restart
- name: fleet.service
command: restart
etcd:
discovery: https://discovery.etcd.io/f32ca8c1a0783ae68719af33a06ae8e2
addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
ssh_authorized_keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAAAgQCzttE8tsIMvbxGSZa7ZQ7WzOX8nr936seGB2dDtT1dEzbc9dN2IfR2jeLCeKFXyfA+T86yulmuUcS6xxglDA+RNjqG1uHI7cXFypzV+NyDxghIuoC0B+DbmFOWoGAdNx56rt/RNKQmgkh5zRKPQh2lliZ7VkqI9o1xEiIYPKBpOw==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment