Skip to content

Instantly share code, notes, and snippets.

@kerin
Created May 15, 2015 13:35
Show Gist options
  • Save kerin/6d0288ea7d385286ef31 to your computer and use it in GitHub Desktop.
Save kerin/6d0288ea7d385286ef31 to your computer and use it in GitHub Desktop.
"coreos:\n",
" etcd:\n",
" discovery: ", {"Ref": "DiscoveryURL"}, "\n",
" addr: $public_ipv4:4001\n",
" peer-addr: $private_ipv4:7001\n",
" units:\n",
" - name: etcd.service\n",
" command: start\n",
" - name: fleet.service\n",
" command: start\n",
" - name: flanneld.service\n",
" drop-ins:\n",
" - name: 50-network-config.conf\n",
" content: |\n",
" [Service]\n",
" ExecStartPre=/usr/bin/etcdctl set /coreos.com/network/config '{ \"Network\": \"10.255.0.0/16\", \"Backend\": {\"Type\": \"vxlan\"}}'\n",
" command: start\n"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment