OpenSuse Leap 15 Change hostname

From Notes_Wiki
Revision as of 11:57, 26 January 2019 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb self="Change hostname">OpenSuse_Leap_15_System_Administration|System Administration</yambe:breadcrumb> =OpenSuse Leap 15 Change hostname= In OpenSuse Leap 1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb self="Change hostname">OpenSuse_Leap_15_System_Administration|System Administration</yambe:breadcrumb>

OpenSuse Leap 15 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: