Skip to content

Instantly share code, notes, and snippets.

@tychota
Created January 7, 2018 08:51
Show Gist options
  • Save tychota/2f7bda936593219bf80b75f200fd1028 to your computer and use it in GitHub Desktop.
Save tychota/2f7bda936593219bf80b75f200fd1028 to your computer and use it in GitHub Desktop.
#cloud-config
hostname: coreos-1
users:
- name: tycho
passwd: $6$rounds=4096$WpkNikn7myfzFqV$Y8VEtwQ57v.AC8gGGXfAPL3l/t8gNeVGQc3oK/JvSvsGGZgD3w6Hd52.9WoSY4a86GPpaLISd0QEjnbdl5Jch.
groups:
- sudo
- docker
coreos:
etcd:
discovery: https://discovery.etcd.io/d333020514dfcf05561d4b7b7ffe6596
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
write_files:
- path: /etc/environment
permissions: 0644
content: |
PUBLIC_IPV4=91.121.153.47
ssh_authorized_keys:
- ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIANBwLhT4dpL6GRDydbOlvdoXKtWD5ppz49D59Pd0wdn mbp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment