mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
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:
parent
7025bd734d
commit
d0d41a185f
@ -96,8 +96,8 @@ userdata="#cloud-config
|
||||
coreos:
|
||||
etcd:
|
||||
discovery: $discovery
|
||||
addr: \$private_ipv4:4001
|
||||
peer-addr: \$private_ipv4:7001
|
||||
addr: \$public_ipv4:4001
|
||||
peer-addr: \$public_ipv4:7001
|
||||
units:
|
||||
- name: etcd.service
|
||||
command: start
|
||||
|
Loading…
x
Reference in New Issue
Block a user