OpenSuse Leap 15 Change hostname

From Notes_Wiki
Revision as of 03:11, 6 April 2022 by Saurabh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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