[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Hostname v buster




> On Jun 29, 2019, at 3:37 AM, Gene Heskett <gheskett@shentel.net> wrote:
> 
> That conversion insists the hostname is realtimepi.  In stretch I could 
> fix it to the name I'm used to by setting hostname, then sudo chattr +i 
> hostname, and it would stick over a reboot, but not in buster, despite 
> the immutable bit being set, its been reset to realtimepi after a 
> reboot, this despite an lsattr still showing the i bit is still set!

Try hostnamectl:

# sudo hostnamectl set-hostname HOSTNAME

where HOSTNAME is your new hostname.

Adrian


Reply to: