Where is store hostname string from yast2.
Why the value is not in use.
Where is store the string hostname : ‘linux-cc07’ as I don’t found it.
Where is store the transiant hostname string : ‘hostname-2’ as I don’t
found it.
From where HOST variable is filled from.
Any help is welcome.
Hi
It’s stored in the environment ($SOME_VAR) for the current session, use
env command to see them all. Logout of the root console session and log
back in…
–
Cheers Malcolm °¿° LFCS, SUSE Knowledge Partner (Linux Counter #276890)
SUSE Linux Enterprise Desktop 12 GNOME 3.10.1 Kernel 3.12.39-47-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!
It is not really my question.
Based on starting my thread, I have search for string “'linux-cc07” and never found it.
I have search for string “srv-hostname” and never found it.
So where are set all these data.
Where and is set HOST variable
Where are set variables from these command :
On 2015-04-07 20:26, jcdole wrote:
> So where are set all these data.
Should be “/etc/HOSTNAME”. There was talk about using “/etc/hostname”
instead, but as SUSE has used the uppercase version for decades, maybe
there is a symlink now in 13.2.
You probably get the name assigned from your router/DHCP server.
As the installer configured that name, your computer then told the name to the router/DHCP server, which might have remembered it.
To get rid of that, either configure your router/DHCP server to assign you a different host name, or disable the option “Change Hostname via DHCP” in YaST->Network Devices->Network Settings->Hostname/DNS.