From 64ac97cbb01335970bdf5f6d6ec2888f4e54ae67 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Tue, 27 Aug 2019 12:28:39 +0200 Subject: [slx-network] fix bad guard Script would bail out if no fixed ip adress was given through kernel command line. --- builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 b/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 index 17afe798..61f925d0 100755 --- a/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 +++ b/builder/modules.d/slx-network/scripts/setup-bootif-network.stage4 @@ -9,7 +9,7 @@ export PATH=$PATH:/opt/openslx/sbin:/opt/openslx/bin . /opt/openslx/config -if [ -z "$SLX_PXE_NETIF" ] || [ -z "$SLX_PXE_CLIENT_IP" ]; then +if [ -z "$SLX_PXE_NETIF" ]; then echo "Missing network information of the main boot interface." exit 1 fi -- cgit v1.2.3-55-g7522