Hey, this works, thanks a lot! One correction though: dhcp-send-hostname should be "true", and dhcp-hostname should be set to the desired hostname. After googling a bit I found the keyfile ini file format here: http://projects.gnome.org/NetworkManager/developers/settings-spec-08.html
Stefan. On Wed, Jan 25, 2012 at 9:15 PM, Dan Williams <[email protected]> wrote: > So it looks like NM will use the system hostname if the connection > doesn't provide one (ie, option #1), overriding the send-hostname from > the config file. Which kinda sucks, I wasn't expecting that, but due > some internal architecture we can't distinguish between the system > hostname and the one from the connection config when DHCP is being > started. That's fixable though and we should do it; the goal is for > options in the dhclient config files to override the system hostname > (but not configuration hostname as specified below). > > For option 1, if your connection is specified using keyfiles (ie, it's > in /etc/NetworkManager/system-connections you can add > "dhcp-send-hostname=<desired hostname>" key to the [ipv4] block and that > should work. > > Dan > > > _______________________________________________ networkmanager-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/networkmanager-list
