mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
man: document nmcli device connect
behaviour
Already since 1.0.0 release and commit "3784678177 cli: create a connection if none exist in 'nmcli dev connect' (rh #1113941)", device-connect can also create a profile. That is useful, in particular as opposed to $ nmcli connection up ifname "$DEVICE" which wouldn't create a profile (ever). Document it.
This commit is contained in:
parent
a217cbebf9
commit
1b732e28f7
|
@ -1281,6 +1281,11 @@
|
|||
that will be activated. It will also consider connections that are not set to
|
||||
auto connect.</para>
|
||||
|
||||
<para>If no compatible connection exists, a new profile with default
|
||||
settings will be created and activated. This differentiates
|
||||
<command>nmcli connection up ifname "$DEVICE"</command> from
|
||||
<command>nmcli device connect "$DEVICE"</command></para>
|
||||
|
||||
<para>If <option>--wait</option> option is not specified, the default timeout will be 90
|
||||
seconds.</para>
|
||||
</listitem>
|
||||
|
|
Loading…
Reference in a new issue