From 4243501dca83a55c6465b598f677733fcc9d1bc9 Mon Sep 17 00:00:00 2001 From: Nahum Shalman Date: Mon, 12 Apr 2021 16:35:08 +0000 Subject: [PATCH] Fix setup.sh to work when .nat_interface doesn't exist Signed-off-by: Nahum Shalman --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index 7645e54..7e7a2b5 100755 --- a/setup.sh +++ b/setup.sh @@ -111,6 +111,7 @@ setup_networking() ( echo "$ERR tinkerbell network interface configuration failed" fi + NAT_INTERFACE="" if [ -r .nat_interface ]; then NAT_INTERFACE=$(cat .nat_interface) fi