Bug 2917 - Host name should be configurable
Summary: Host name should be configurable
Status: RESOLVED WONTFIX
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-08-08 07:51 UTC by Ross Burton
Modified: 2012-08-08 12:05 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ross Burton 2012-08-08 07:51:04 UTC
Currently the image's hostname (/etc/hostname) is either $MACHINE or something else if the distro patches base-files.

This should be more configurable - distros should be able to set revised defaults and individuals should be able to override it further in local.conf.
Comment 1 Ross Burton 2012-08-08 12:05:04 UTC
pb pointed out that this works:

hostname_pn-base-files = "my-distro-rocks"

Closing.