plus3it / plus3it/name-computer-formula

Ensure to manage /etc/cloud/cloud.cfg

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Jinja
Stars
0
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Newer versions of the cloud-init package default to resetting the hostname to whatever value is supplied via DHCP. This module re-executes at each system-boot. Need to ensure that the preserve_hostname value is present in /etc/cloud/cloud.cfg file and is set to true.

Known to effect cloud-init in EL7 (and cases where cloud-init has been upgraded beyond what is available via the vendor repos for EL6).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Salt formula state or template responsible for managing /etc/cloud/cloud.cfg. Verify how the rendered configuration is checked, then ensure preserve_hostname is present and set to true; done means the managed file contains that value.

Written by the indexing model from the issue text.

Assessment

Domain
devops, operating-systems
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.