summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-08-27 12:28:39 +0200
committerJonathan Bauer2019-08-27 12:28:39 +0200
commit64ac97cbb01335970bdf5f6d6ec2888f4e54ae67 (patch)
tree4b6df3a1f7ea73b7f785f7c44af2df44d3395b2a
parent[slx-dmsetup] log growfs output (diff)
downloadsystemd-init-64ac97cbb01335970bdf5f6d6ec2888f4e54ae67.tar.gz
systemd-init-64ac97cbb01335970bdf5f6d6ec2888f4e54ae67.tar.xz
systemd-init-64ac97cbb01335970bdf5f6d6ec2888f4e54ae67.zip
[slx-network] fix bad guard
Script would bail out if no fixed ip adress was given through kernel command line.
-rwxr-xr-xbuilder/modules.d/slx-network/scripts/setup-bootif-network.stage42
1 files changed, 1 insertions, 1 deletions
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