From 29b624d1b14b72dc6415de47292a6fc30bc02227 Mon Sep 17 00:00:00 2001 From: Alex Ellis Date: Wed, 15 Mar 2017 11:56:58 +0000 Subject: [PATCH] Simplify --advertise-addr for PWD --- TestDrive.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TestDrive.md b/TestDrive.md index 6f9ae87b..094d20d3 100644 --- a/TestDrive.md +++ b/TestDrive.md @@ -15,7 +15,7 @@ The guide makes use of a free testing/cloud service, but if you want to try it o This one-shot script clones the code, initialises Docker swarm mode and then deploys the FaaS sample stack. ``` -# docker swarm init --advertise-addr=$(ifconfig eth0| grep 'inet addr:'| cut -d: -f2 | awk '{ print $1}') && \ +# docker swarm init --advertise-addr eth0 && \ git clone https://github.com/alexellis/faas && \ cd faas && \ ./deploy_stack.sh && \