We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f8f543 commit fbf60d8Copy full SHA for fbf60d8
distributed-configuration/getting-started-with-etcd/index.md
@@ -71,7 +71,7 @@ $ curl -L http://172.17.42.1:4001/v2/keys/
71
You can also fetch the `docker0` IP programmatically:
72
73
```
74
-ETCD_ENDPOINT="$(ifconfig docker0 | grep 'inet ' | awk '{ print $2}'):4001"
+ETCD_ENDPOINT="$(ifconfig docker0 | awk '/\<inet\>/ { print $2}'):4001"
75
76
77
## Proxy Example
0 commit comments