Skip to content

Commit 33992b8

Browse files
author
Chris LeBlanc
committed
support for multiple make discovery-url runs
1 parent d9dd781 commit 33992b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dev-registry: check-docker
1717
@echo " export DEV_REGISTRY=`boot2docker ip 2>/dev/null`:5000"
1818

1919
discovery-url:
20-
sed -e "s,# discovery: https://discovery.etcd.io/12345693838asdfasfadf13939923,discovery: $$(curl -s -w '\n' https://discovery.etcd.io/new)," contrib/coreos/user-data > contrib/coreos/user-data.new
20+
sed -e "s,# discovery:,discovery:," -e "s,discovery: https://discovery.etcd.io/.*,discovery: $$(curl -s -w '\n' https://discovery.etcd.io/new)," contrib/coreos/user-data > contrib/coreos/user-data.new
2121
mv contrib/coreos/user-data.new contrib/coreos/user-data
2222

2323
build: check-docker

0 commit comments

Comments
 (0)