Created
May 15, 2015 13:35
-
-
Save kerin/6d0288ea7d385286ef31 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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