Fix setup.sh to work when .nat_interface doesn't exist
Signed-off-by: Nahum Shalman <nshalman@equinix.com>
This commit is contained in:
parent
3fc23c58eb
commit
4243501dca
1
setup.sh
1
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user