Arian van Putten
c7837840f5
firstboot: apply hostname via hostnamed varlink API
...
Previously we just wrote /etc/hostname and returned. The kernel hostname
was left at whatever PID 1 sethostname()'d very early in boot (before
/etc/hostname existed), which meant hostnamectl reported the transient
hostname instead of the static one until the next reboot.
Call io.systemd.Hostname.SetStaticHostname on the running system so
hostnamed writes /etc/hostname and updates the kernel hostname in one
step. If hostnamed is unreachable (masked or absent on minimal images)
fall back to writing /etc/hostname directly. --root=/--image= also keeps
writing the file directly, since hostnamed only manages the running
system.
2026-08-28 06:29:58 +09:00
..
2026-06-23 23:10:01 +02:00
2026-07-10 14:01:24 +02:00
2026-08-27 10:46:01 +01:00
2026-05-11 22:34:28 +01:00
2026-07-03 10:10:09 +02:00
2026-07-03 10:10:09 +02:00
2026-07-03 10:10:09 +02:00
2026-06-23 23:10:01 +02:00
2026-06-24 13:05:34 +02:00
2026-06-23 23:10:01 +02:00
2026-04-07 09:51:03 +02:00
2026-04-07 09:51:03 +02:00
2026-04-07 09:51:03 +02:00
2026-08-27 05:52:49 +09:00
2026-08-27 05:52:49 +09:00
2026-06-23 23:10:01 +02:00
2026-06-27 17:28:39 +02:00
2026-06-27 17:28:39 +02:00
2026-06-27 17:28:39 +02:00
2026-06-23 23:10:01 +02:00
2026-08-28 06:29:58 +09:00
2026-06-23 23:10:01 +02:00
2026-05-27 04:36:05 +09:00
2026-06-19 20:05:14 +02:00
2026-06-23 23:10:01 +02:00
2026-06-22 22:03:12 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-24 11:47:28 +01:00
2026-06-23 12:41:38 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-01 10:56:16 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-06 10:47:10 +01:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-08-12 10:49:34 +02:00
2026-07-13 09:53:15 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-05-22 12:15:12 +02:00
2026-06-04 11:23:59 +01:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-05-23 12:58:23 +02:00
2026-06-23 23:10:01 +02:00
2026-05-23 12:58:23 +02:00
2026-06-23 23:10:01 +02:00
2026-06-19 05:23:18 +02:00
2026-06-23 23:10:01 +02:00
2026-06-25 10:33:01 +01:00
2026-08-20 15:30:20 +02:00
2026-08-20 15:30:20 +02:00
2026-06-24 11:47:28 +01:00
2026-06-22 20:42:35 +02:00
2026-06-24 11:47:28 +01:00
2026-06-19 05:23:18 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-06-23 23:10:01 +02:00
2026-04-29 12:25:47 +02:00
2026-06-23 23:10:01 +02:00
2026-04-29 12:25:47 +02:00
2026-04-07 09:51:03 +02:00
2026-04-07 09:51:03 +02:00
2026-04-07 09:51:03 +02:00
2026-06-23 23:10:01 +02:00
2026-07-03 11:16:46 +02:00
2026-07-03 11:16:46 +02:00
2026-07-03 11:16:46 +02:00
2026-08-26 19:51:31 +01:00
2026-06-24 13:05:34 +02:00
2026-06-24 13:05:34 +02:00
2026-06-24 13:05:34 +02:00
2026-06-24 13:05:34 +02:00
2026-06-24 13:05:34 +02:00
2026-06-24 13:05:34 +02:00
2026-08-26 19:51:31 +01:00
2026-08-26 19:51:31 +01:00
2026-06-26 13:01:31 +01:00
2026-06-26 13:01:31 +01:00
2026-08-26 19:51:31 +01:00
2026-08-15 13:12:50 -07:00
2026-07-09 13:33:06 +02:00
2026-07-18 05:29:59 +09:00
2026-07-18 05:29:59 +09:00
2026-07-18 05:29:59 +09:00
2026-06-06 10:47:10 +01:00
2026-06-23 23:10:01 +02:00
2026-05-22 12:15:14 +02:00
2026-05-22 12:15:14 +02:00