diff options
author | Jonathan Bauer | 2021-08-13 17:06:54 +0200 |
---|---|---|
committer | Jonathan Bauer | 2021-08-13 17:06:54 +0200 |
commit | 3d32b5cc49660cf618ab81bb5e3a02e75cb82364 (patch) | |
tree | 81eedc79681bd2c3eabb0f1660f311015b8b9bfb | |
parent | [slx-network] more work towards chaos (diff) | |
download | systemd-init-3d32b5cc49660cf618ab81bb5e3a02e75cb82364.tar.gz systemd-init-3d32b5cc49660cf618ab81bb5e3a02e75cb82364.tar.xz systemd-init-3d32b5cc49660cf618ab81bb5e3a02e75cb82364.zip |
[slx-network] also pass hostname from kcl to udhcpc trigger script
-rwxr-xr-x | modules.d/slx-network/scripts/setup-bootif-network.stage3 | 1 |
1 files changed, 1 insertions, 0 deletions
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 |