]> git.ipfire.org Git - thirdparty/systemd.git/commit
firstboot: permit setting the static hostname via a system credential 41212/head
authorLennart Poettering <lennart@amutable.com>
Thu, 5 Mar 2026 09:39:28 +0000 (10:39 +0100)
committerLennart Poettering <lennart@amutable.com>
Fri, 20 Mar 2026 11:39:44 +0000 (12:39 +0100)
commit4c49e864b0b8d3685c8e53d415289806278955ea
treeac0687a11268ea298bb647afde0e572bbef5c644
parent4460a4ba2155619a2f1abb1c8de577292b260162
firstboot: permit setting the static hostname via a system credential

For the IMDS case there's value in being able to set the static
hostname, instead of just the transient one. Let's introduce
firstboot.hostname, which only applies to first boot, and write the
static hostname. This is different from system.hostname which applies to
any boot, and writes the transient hostname.
man/systemd-firstboot.xml
man/systemd.system-credentials.xml
src/firstboot/firstboot.c