network-manager: hostname option is deprecated

From log:
<warn>  [1498639184.8965] keyfile: 'hostname' option is deprecated and has no effect
This commit is contained in:
Rickard Nilsson 2017-06-28 10:55:50 +02:00
parent bd10a77c56
commit a6cf6367e2

View File

@ -16,8 +16,6 @@ let
dns=${if cfg.useDnsmasq then "dnsmasq" else "default"}
[keyfile]
${optionalString (config.networking.hostName != "")
''hostname=${config.networking.hostName}''}
${optionalString (cfg.unmanaged != [])
''unmanaged-devices=${lib.concatStringsSep ";" cfg.unmanaged}''}