diff options
author | Jonathan Bauer | 2020-08-14 10:40:08 +0200 |
---|---|---|
committer | Jonathan Bauer | 2020-08-14 10:40:08 +0200 |
commit | c0326529e3fe1a19f96190b0cb0eb2144af393c6 (patch) | |
tree | 8540be0000456e537cd6ac34a6e213e506891942 | |
parent | [systemd-networkd-ext] remove -t from busybox timeout (diff) | |
download | systemd-init-c0326529e3fe1a19f96190b0cb0eb2144af393c6.tar.gz systemd-init-c0326529e3fe1a19f96190b0cb0eb2144af393c6.tar.xz systemd-init-c0326529e3fe1a19f96190b0cb0eb2144af393c6.zip |
[slx-network] use 'noname-' prefix for hostname fallback
-rwxr-xr-x | modules.d/slx-network/scripts/udhcpc-trigger.stage3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules.d/slx-network/scripts/udhcpc-trigger.stage3 b/modules.d/slx-network/scripts/udhcpc-trigger.stage3 index 25d036c8..d806d147 100755 --- a/modules.d/slx-network/scripts/udhcpc-trigger.stage3 +++ b/modules.d/slx-network/scripts/udhcpc-trigger.stage3 @@ -132,7 +132,7 @@ fi if [ -z "$hostname" ]; then # no fallback hostname from DNS, use IP address - hostname="${ip//./-}" + hostname="noname-${ip//./-}" fi if [ -n "$hostname" ]; then |