Skip to content

Prefer Configured Hostname Over DHCP Provided #488

@ghost

Description

In identity:node service method a hostname provided by a DHCP server is preferred over one that has been input through configuration.
I am unsure of why this decision was made, since if an operator goes into the trouble of manually configuring a hostname, it should be honored by the one given by a DHCP server.

This is only an issue, because even when a DHCP procedure is begun with a hostname provided (both with explicit ipadm -h, —reqhost argument or with ifconfig through primary flag), it does not “echo” it back properly. Instead all you get back is the hostname set to be given by default by that DHCP server.
This is observed also in OmniOS, so I am assuming this is intended behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions