ami: configure etcd with public addresses

When I created the new AMI build host I just accepted the default
'wizard' security group which seems to have placed the host in a VPC.
There doesn't seem to be a way to fix this and as-is the build host
cannot access the private addresses on the test VMs it launches.
Switching to the public ones work fine though. Didn't notice this at
first because it is only a problem when etcd sends a redirect.
This commit is contained in:
Michael Marineau 2014-07-15 12:12:43 -07:00
parent 7025bd734d
commit d0d41a185f

View File

@ -96,8 +96,8 @@ userdata="#cloud-config
coreos: coreos:
etcd: etcd:
discovery: $discovery discovery: $discovery
addr: \$private_ipv4:4001 addr: \$public_ipv4:4001
peer-addr: \$private_ipv4:7001 peer-addr: \$public_ipv4:7001
units: units:
- name: etcd.service - name: etcd.service
command: start command: start