Skip to content

Instantly share code, notes, and snippets.

@GQAdonis
Created July 28, 2015 08:32
Show Gist options
  • Save GQAdonis/f38aebc1e391333f76b8 to your computer and use it in GitHub Desktop.
Save GQAdonis/f38aebc1e391333f76b8 to your computer and use it in GitHub Desktop.
#cloud-config
hostname: localCoreOS
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=ens3
[Network]
Address=x.x.x.109/24
Gateway=x.x.x.1
DNS=x.x.x.10
DNS=x.x.x.11
DNS=8.8.8.8
users:
- name: core
ssh-authorized-keys:
- ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClHydU0BUTTMTFjfWWNmGdu/X2tPKojo2g+Mj1A+hV5ZRaOJNdGALqcpgAH5DlD5jZyEJGEsI69Jg9LeMN5bzIAxLoXdJxBmBcV0HB7QIwI+YePxHkds7uyy63P1syuuHByKO76L4KEnMdCcjXSbw9N/MCIvLKzfkOiUPigAYZwHiL+TeWFFVgdvhwvpk64wa4wysX/vTgr45ouAkF3ummIhl2rZz/g/02Hhib0I3TzMLeB9itCgPb3+6nqHwQ3nDsEAb9P6dIlldIqQO3zBMxJWVatjCRcI9M1abrFvPZWocVxzE1PoW0WobLc/PERlPs5PowAt93eCF/1DkSZ5xx gqadonis@me.com
- groups:
- sudo
- docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment