Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
B br-bangBMC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1
    • Issues 1
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • BangBMC Firmware
  • br-bangBMC
  • Issues
  • #1

Closed
Open
Created Mar 25, 2020 by Merlin Büge@mx08

Target hostnames contain underscores

Hi,

I was just reading the buildroot defconfigs configs/blackbird-bmc_defconfig and configs/talos-bmc_defconfig and noticed that the option BR2_TARGET_GENERIC_HOSTNAME contains an underscore in both files:

  • BR2_TARGET_GENERIC_HOSTNAME="blackbird_bangbmc"
  • BR2_TARGET_GENERIC_HOSTNAME="talos_bangbmc"

As far as I'm aware, underscores are not allowed in hostnames, see e.g. https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames or the man page hostname(7).

I'm still learning buildroot and I don't know exactly what the option BR2_TARGET_GENERIC_HOSTNAME does, but its name suggests it's used to specify the hostname on the target platform :)

If that's the case, what do you think about replacing the underscore with a hyphen, so that the hostnames become:

  • blackbird-bangbmc
  • talos-bangbmc
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking

Powered by Integricloud. Any automated access to this website for the purpose of training any LLM ("AI") for non-personal use as defined in our Terms of Service may be billed to the accessor per the Terms of Service. Continued access to this website by automated tooling indicates acceptance of these terms.