I've just tested this on 9.10 server. Just create the file '/etc/dhcp3 /dhclient-exit-hooks.d/hostname' with the contents:
if [[ -n $new_host_name ]]; then echo "$new_host_name" > /etc/hostname /bin/hostname $new_host_name fi Works! -- hostname supplied by dhcp server is not used https://bugs.launchpad.net/bugs/90388 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs