OpenSuse Leap 15 Change hostname
From Notes_Wiki
Home > Suse > OpenSuse Leap 15 > System Administration > Change hostname
In OpenSuse Leap 15 hostname can be changed temporarily using:
hostname <desired-hostname>
command. However, after reboot the changes will not be persistent. To change hostname persistently use:
hostnamectl set-hostname <desired-hostname>
Refer:
Home > Suse > OpenSuse Leap 15 > System Administration > Change hostname