Skip to content

Commit 2957e6d

Browse files
committed
Merge pull request #1472 from deis/fleet_public_ip
fix(contrib/coreos): configure public IP for fleet
2 parents 4c66161 + 727d400 commit 2957e6d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

contrib/coreos/user-data

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ coreos:
77
# discovery: https://discovery.etcd.io/12345693838asdfasfadf13939923
88
addr: $private_ipv4:4001
99
peer-addr: $private_ipv4:7001
10+
fleet:
11+
# We have to set the public_ip here so this works on Vagrant -- otherwise, Vagrant VMs
12+
# will all publish the same private IP. This is harmless for cloud providers.
13+
public_ip: $private_ipv4
1014
units:
1115
- name: etcd.service
1216
command: start

0 commit comments

Comments
 (0)