
Short story long, you tried "everything" you thought of, from the helm of obviousness, how to change the hostname of your Trixie on RPi.
But to your deception, after rebooting the hostname comes back.
First thing:
touch /etc/cloud/cloud-init.disabled
hostnamectl set-hostname khamul
nmcli general hostname khamul
shutdown -r nowIf that didn't work, second idea:
# cat /boot/firmware/user-data
#cloud-config
manage_resolv_conf: false
hostname: NEWHOSTNAME
manage_etc_hosts: true
packages:
- avahi-daemon
apt:
preserve_sources_list: true
conf: |
Acquire {
Check-Date "false";
};
timezone: Europe/Amsterdam
keyboard:
model: pc105
layout: "us"
users:
- name: horseman
shell: /bin/bash
lock_passwd: false
passwd: "boingboing"
ssh_authorized_keys:
- "ssh-ed25519 boingboing"
enable_ssh: true
ssh_pwauth: false
rpi:
interfaces:
serial: trueIf after changing there NEWHOSTNAME and rebooting also doesn't help... then i'm out of ideas for you...




