Difference between revisions of "OpenSuse Leap 15 Change hostname"

From Notes_Wiki
(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...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb self="Change hostname">OpenSuse_Leap_15_System_Administration|System Administration</yambe:breadcrumb>
[[Main Page|Home]] > [[Suse]] > [[OpenSuse Leap 15]] > [[OpenSuse Leap 15 System Administration|System Administration]] > [[OpenSuse Leap 15 Change hostname|Change hostname]]
=OpenSuse Leap 15 Change hostname=


In OpenSuse Leap 15 hostname can be changed temporarily using:
In OpenSuse Leap 15 hostname can be changed temporarily using:
Line 13: Line 12:
Refer:
Refer:
* https://www.server-world.info/en/note?os=SUSE_Linux_Enterprise_12&p=hostname
* https://www.server-world.info/en/note?os=SUSE_Linux_Enterprise_12&p=hostname
[[Main Page|Home]] > [[Suse]] > [[OpenSuse Leap 15]] > [[OpenSuse Leap 15 System Administration|System Administration]] > [[OpenSuse Leap 15 Change hostname|Change hostname]]

Latest revision as of 03:11, 6 April 2022

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