Re: Debian 12, setting hostname does not persist
Hi.
On Tue, Jun 27, 2023 at 06:48:52AM -0400, David Mehler wrote:
> the upgrade itself went just fine. I set my time zone that stuck and
> is persisting then went for the hostname, I am doing this via ssh, in
> setting the hostname it won't persist through a reboot.
One of the possible reasons for this is "cloud-init".
Purge the package, or set "preserve_hostname: true" in
/etc/cloud/cloud.cfg.
Another one could be DHCP client. "nooption host_name" in dhcpcd.conf
should fix the issue.
Reco
Reply to: