policy: accept localhost hostnames if static
Prevents NetworkManager from trying to determine the transient hostname via DHCP or other means if "localhost" is already configured as a static hostname, as the transient hostname will be ignored by hostnamed if a static hostname has already been set.
This commit is contained in:
@@ -271,8 +271,7 @@ no-auto-default=*
|
||||
Set the management mode of the hostname. This parameter will
|
||||
affect only the transient hostname. If a valid static hostname is set,
|
||||
NetworkManager will skip the update of the hostname despite the value of
|
||||
this option. An hostname empty or equal to 'localhost', 'localhost6',
|
||||
'localhost.localdomain' or 'localhost6.localdomain' is considered invalid.
|
||||
this option. A hostname empty or equal to '(none)' is considered invalid.
|
||||
</para>
|
||||
<para><literal>default</literal>: NetworkManager will update the
|
||||
hostname with the one provided via DHCP or reverse DNS lookup of the
|
||||
|
Reference in New Issue
Block a user