• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agama-project / agama / 13837957018

Build:
Build:
LAST BUILD BRANCH: dasd-dbus-api-v2
DEFAULT BRANCH: master
Ran 13 Mar 2025 03:18PM UTC
Jobs 2
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
13837957018

push

github

web-flow
Hostname handling (#2142)

## Problem

Currently the backend and the UI does not allow to set the system
hostname, and the kernel cmdline argument only allow to set the
transient hostname.

-
https://trello.com/c/V2GgJrWo/4349-5-agama-add-support-for-setting-the-hostname

## Solution

- Added a hostname specific model and API for getting/setting the
transient and persistent hostname.
- Set the persistent hostname in dracut if the hostname option is given
as linuxrc used to do.
- Allow to disable the manage of the hostname only in case the kernel
cmdline SetHostname option is given
- By now we will not expose the hostname-mode or the via_dhcp option
through the profile or config.. see below some notes and clarifications
about it.

> I decided to not expose the by_dhcp option by now until discussed, and
maybe renaming it to `via_dhcp` would be better, or just use `mode`
allowing to set it to {default|dhcp|none}.
> 
> From the doc page ...
https://networkmanager.pages.freedesktop.org/NetworkManager/NetworkManager/NetworkManager.conf.html
> 
> hostname-mode
> 
> Set the management mode of the hostname. This parameter will affect
only the transient hostname. If a valid static hostname is set,
NetworkManager will skip the update of the hostname despite the value of
this option. An hostname empty or equal to 'localhost', 'localhost6',
'localhost.localdomain' or 'localhost6.localdomain' is considered
invalid.
> 
> default: NetworkManager will update the hostname with the one provided
via DHCP or reverse DNS lookup of the IP address on the connection with
the default route or on any connection with the property
hostname.only-from-default set to 'false'. Connections are considered in
order of increasing value of the hostname.priority property. In case
multiple connections have the same priority, connections activated
earlier are considered first. If no hostname can be determined in such
way, the hostname will be updated to the last one set outside
NetworkManage... (continued)
Subprojects
ID Flag name Job ID Ran Files Coverage
2 rust 13837957018.2 13 Mar 2025 03:18PM UTC 139
24.68
GitHub Action Run
1 service 13810759906.1 12 Mar 2025 12:00PM UTC 654
89.16
GitHub Action Run
Source Files on build 13837957018
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #13837957018
  • 9ac77fde on github
  • Prev Build on after-release-beta2 (#13812608688)
  • Next Build on after-release-beta2 (#13859037226)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc