mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-28 15:40:10 +01: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.
(cherry picked from commit 1b732e28f7)
This commit is contained in:
parent
7f173bcfdf
commit
a1831d1832
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue