Skip to content

Instantly share code, notes, and snippets.

@An0nymous0
Created August 24, 2015 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save An0nymous0/36b79c77234bef780bf1 to your computer and use it in GitHub Desktop.
Save An0nymous0/36b79c77234bef780bf1 to your computer and use it in GitHub Desktop.
#cloud-config
hostname: coreos1
coreos:
etcd:
addr: $private_ipv4:4001
peer-addr: $private_ipv4:7001
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
- name: static.network
content: |
[Match]
Name=enp0
[Network]
Address=192.168.59.40/24
Gateway=192.168.59.254
DNS=223.5.5.5
DNS=224.6.6.6
users:
- name: core
ssh-authorized-keys:
- ssh-rsa MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC51l+04C4ua5zGH6nhwb2WubRgr8oVtLfgobifLqQfHbiqKcuhT9UVE6oORsPo7wGOw0E3aQrKEH8PpSHICrVkbb5CZyhp4UfzDMu7VrmbiyotZ4oGm53/kScjBR7H4C4OlA8Mqklf/yi9GWQ9e76ptYBybySsKsR0OrFxrjtuCwIDAQAB
- groups:
- sudo
- docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment