There are two problems with the patch: 1. netcfg/hostname=ubuntu (or any value containing "ubuntu") remains unfixed. 2. Certain DHCP hostnames can result in corrupting the hosts file.
For example, with DHCP name "node" and "netcfg/hostname=newname" we have this command: /bin/sed -i "s/$CURRENT_HOSTNAME/$NETCFG_HOSTNAME/" /etc/hosts which would change "ff02::1 ip6-allnodes" into "ff02::1 ip6-allnewnames". (I actually ran into the first issue, trying to set hostname "ubuntu" which failed and resulted in a hostname that consists of an IP address...) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452202 Title: ubuntu preseed install fails to set a hostname To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debian-installer/+bug/1452202/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs