From c53a51c959e60f613ddf92e7a7f8816d8ead298f Mon Sep 17 00:00:00 2001 From: Asim Date: Sun, 7 Feb 2016 21:30:18 +0000 Subject: [PATCH] Update readme for consul syntax changes --- README.md | 2 +- examples/server/README.md | 2 +- examples/service/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9daaca21..6c79626b 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ etcd, kubernetes, zookeeper, etc. Other implementations can be found in [go-plug ### Run Consul ``` -$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul +$ consul agent -dev -advertise=127.0.0.1 ``` ### Run Service diff --git a/examples/server/README.md b/examples/server/README.md index 9fc82ac3..366f546f 100644 --- a/examples/server/README.md +++ b/examples/server/README.md @@ -9,7 +9,7 @@ Install Consul Run Consul ``` -$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul +$ consul agent -dev -advertise=127.0.0.1 ``` Run Service diff --git a/examples/service/README.md b/examples/service/README.md index f474d65f..1cb1c14d 100644 --- a/examples/service/README.md +++ b/examples/service/README.md @@ -12,7 +12,7 @@ its easily swapped out with etcd, kubernetes, or various other systems. We'll ru 2. Run Consul ```shell -$ consul agent -server -bootstrap-expect 1 -data-dir /tmp/consul +$ consul agent -dev -advertise=127.0.0.1 ``` ## Run the example