Skip to content

Instantly share code, notes, and snippets.

@delianides
Last active February 19, 2016 21:38
Show Gist options
  • Save delianides/2fb6536a5e2971810dbd to your computer and use it in GitHub Desktop.
Save delianides/2fb6536a5e2971810dbd to your computer and use it in GitHub Desktop.
hostname: corenode1
write_files:
- path: /etc/systemd/network/static.network
permissions: 0644
content: |
[Match]
Name=ens18
[Network]
Address=10.0.30.70/24
Gateway=10.0.30.1
DNS=10.0.30.1
coreos:
etcd2:
discovery: https://discovery.etcd.io/8a4800a0ff515214ca84fb01ca4ef263
advertise-client-urls: http://10.0.30.70:2379,http://10.0.30.70:4001
initial-advertise-peer-urls: http://10.0.30.70:2380
listen-client-urls: http://0.0.0.0:2379,http://0.0.0.0:4001
listen-peer-urls: http://10.0.30.70:2380
units:
- name: etcd2.service
command: start
- name: fleet.service
command: start
- name: flanneld.service
command: start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment