Skip to content

Commit

Permalink
support for multiple make discovery-url runs
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris LeBlanc committed Oct 10, 2014
1 parent d9dd781 commit 33992b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dev-registry: check-docker
@echo " export DEV_REGISTRY=`boot2docker ip 2>/dev/null`:5000"

discovery-url:
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
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
mv contrib/coreos/user-data.new contrib/coreos/user-data

build: check-docker
Expand Down

0 comments on commit 33992b8

Please sign in to comment.