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 Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs