dell / dell/omnia

use `hostnamectl` instead of `hostname`

Open Beginner friendly
#4,982 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
8
Forks
172
Avg merge
14h 51m
Merged PRs (30d)
180

Description

**Is your feature request related to a problem? Please describe.**

`hostname` is not installed by default on RHEL 10. It can be installed with `sudo dnf install hostname`. `hostnamectl hostname` is available by default. It would be great it we could use `hostnamectl` instead.

**Describe the solution you'd like**
Do not require the installation of the `hostname` package.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Search the repository's deployment and configuration code for uses of `hostname`, then inspect the surrounding task or command entry point. Done means the implementation uses `hostnamectl` and no longer requires the `hostname` package on RHEL 10.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, linux
Domain
infrastructure, operating-systems
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.