From 96f7b723610bdb0150108d401be9a38bee49d6e8 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Wed, 17 Apr 2019 10:56:54 +0100 Subject: [PATCH] Prevent Device "braio" does not exist when braio is first created braio is not expected to exist on first run and this message can lead you to believe that an error has occured. --- configure-local-networking.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure-local-networking.sh b/configure-local-networking.sh index b438351..26b362b 100755 --- a/configure-local-networking.sh +++ b/configure-local-networking.sh @@ -25,7 +25,7 @@ public_ip="10.0.2.1" # Configure local networking. # Add a bridge 'braio' for the Kayobe all-in-one cloud network. -if ! sudo ip l show braio 2>&1 >/dev/null; then +if ! sudo ip l show braio >/dev/null 2>&1; then sudo ip l add braio type bridge sudo ip l set braio up sudo ip a add $seed_hv_ip/24 dev braio