NetworkManager/clients/cli
Beniamino Galvani 92c494f290 all: change default value of hostname.only-from-default to false
Currently, is retrieved by default only from the device with the
default route. This is done so that in presence of multiple
connections the choice is deterministic.

However, this limitation seems confusing for users, that expect to get
an hostname even for non-default devices. Change the default and allow
any device to obtain the hostname.

Note that when there is a default route, NM still prefers that device
and so the behavior doesn't change.

The only change in behavior is that when there is no default route and
the machine doesn't have a static hostname, NM will try to get
hostname from DHCP or reverse DNS.

https://bugzilla.redhat.com/show_bug.cgi?id=1766944
2021-01-18 16:29:55 +01:00
..
agent.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
common.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
common.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
connections.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
connections.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
devices.c nmcli: change "--help" to "help" 2021-01-07 09:38:15 +01:00
devices.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
general.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-settings-nmcli.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
generate-docs-nm-settings-nmcli.xml.in all: change default value of hostname.only-from-default to false 2021-01-18 16:29:55 +01:00
meson.build all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nmcli-completion cli: make nmcli do its own command completion 2017-02-13 16:32:15 +01:00
nmcli.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
nmcli.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
polkit-agent.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
polkit-agent.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
settings.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
settings.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
utils.c all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
utils.h all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00