diff options
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/slugos-init/files/sysconf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes/slugos-init/files/sysconf b/recipes/slugos-init/files/sysconf index 8d59d5d6f3..41aa785884 100644 --- a/recipes/slugos-init/files/sysconf +++ b/recipes/slugos-init/files/sysconf @@ -182,6 +182,8 @@ sysconf_reload(){ echo "# address, netmask and gateway are ignored for 'dhcp'" echo "# but required for 'static'" echo "iface $iface inet $boot" + # The following is used by DHCP to register the hostname + test -n "$host" && echo " hostname $host" # The following are ignored for DHCP but are harmless test -n "$ip" && echo " address $ip" test -n "$netmask" && echo " netmask $netmask" |