fix: set the hostname on the kernel command line

The first boot had another hostname than later boots, because
/etc/hostname only exists once tmpfiles links it, after PID 1 has set the
hostname. Remote Control shows the hostname, so the VM changed name in
claude.ai after its first reboot. PID 1 has the command line from the
start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-23 20:01:51 +00:00
1 parent f043ab7fe0
commit 0bf3f2662f
2 files changed
+4 -3

No files matched your search

@@ -40,5 +40,4 @@ L /etc/profile
L /etc/profile.d
L /etc/protocols
L /etc/services
L /etc/hostname
L /etc/claude-code