From 3d32b5cc49660cf618ab81bb5e3a02e75cb82364 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 13 Aug 2021 17:06:54 +0200 Subject: [slx-network] also pass hostname from kcl to udhcpc trigger script --- modules.d/slx-network/scripts/setup-bootif-network.stage3 | 1 + 1 file changed, 1 insertion(+) diff --git a/modules.d/slx-network/scripts/setup-bootif-network.stage3 b/modules.d/slx-network/scripts/setup-bootif-network.stage3 index dfc5adc6..11b9b799 100755 --- a/modules.d/slx-network/scripts/setup-bootif-network.stage3 +++ b/modules.d/slx-network/scripts/setup-bootif-network.stage3 @@ -117,6 +117,7 @@ if [ -n "$SLX_PXE_CLIENT_IP" ] && [ -n "$SLX_PXE_NETMASK" ]; then ip="$SLX_PXE_CLIENT_IP" \ router="$SLX_PXE_GATEWAY" \ dns="$SLX_PXE_DNS" \ + hostname="$SLX_PXE_HOSTNAME" \ /usr/local/bin/udhcpc-trigger bound; then warn "Failed to launch DHCP trigger with KCL configuration - will DHCP." fi -- cgit v1.2.3-55-g7522