mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-07 11:58:12 +02:00
man/nmcli-examples: mark user input in editor
For the extra viewing pleasure.
This commit is contained in:
parent
529f744ec9
commit
f446afbfad
1 changed files with 11 additions and 11 deletions
|
|
@ -323,7 +323,7 @@ Type 'describe [<setting>.<prop>]' for detailed property description
|
||||||
|
|
||||||
You may edit the following settings: connection, 802-3-ethernet (ethernet),
|
You may edit the following settings: connection, 802-3-ethernet (ethernet),
|
||||||
802-1x, ipv4, ipv6, dcb
|
802-1x, ipv4, ipv6, dcb
|
||||||
nmcli> print
|
nmcli> <userinput>print</userinput>
|
||||||
===========================================================================
|
===========================================================================
|
||||||
Connection details
|
Connection details
|
||||||
===========================================================================
|
===========================================================================
|
||||||
|
|
@ -383,13 +383,13 @@ ipv6.may-fail: yes
|
||||||
ipv6.ip6-privacy: -1 (unknown)
|
ipv6.ip6-privacy: -1 (unknown)
|
||||||
ipv6.dhcp-hostname: --
|
ipv6.dhcp-hostname: --
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
nmcli> goto ethernet
|
nmcli> <userinput>goto ethernet</userinput>
|
||||||
You may edit the following properties: port, speed, duplex, auto-negotiate,
|
You may edit the following properties: port, speed, duplex, auto-negotiate,
|
||||||
mac-address, cloned-mac-address, mac-address-blacklist, mtu, s390-subchann
|
mac-address, cloned-mac-address, mac-address-blacklist, mtu, s390-subchann
|
||||||
els, s390-nettype, s390-options
|
els, s390-nettype, s390-options
|
||||||
nmcli 802-3-ethernet> set mtu 1492
|
nmcli 802-3-ethernet> set mtu 1492
|
||||||
nmcli 802-3-ethernet> b
|
nmcli 802-3-ethernet> b
|
||||||
nmcli> goto ipv4.addresses
|
nmcli> <userinput>goto ipv4.addresses</userinput>
|
||||||
nmcli ipv4.addresses> desc
|
nmcli ipv4.addresses> desc
|
||||||
|
|
||||||
=== [addresses] ===
|
=== [addresses] ===
|
||||||
|
|
@ -410,10 +410,10 @@ nmcli ipv4.addresses> print
|
||||||
addresses: 192.168.1.100/24
|
addresses: 192.168.1.100/24
|
||||||
nmcli ipv4.addresses> back
|
nmcli ipv4.addresses> back
|
||||||
nmcli ipv4> b
|
nmcli ipv4> b
|
||||||
nmcli> set ipv4.gateway 192.168.1.1
|
nmcli> <userinput>set ipv4.gateway 192.168.1.1</userinput>
|
||||||
nmcli> verify
|
nmcli> <userinput>verify</userinput>
|
||||||
Verify connection: OK
|
Verify connection: OK
|
||||||
nmcli> print
|
nmcli> <userinput>print</userinput>
|
||||||
===========================================================================
|
===========================================================================
|
||||||
Connection details
|
Connection details
|
||||||
===========================================================================
|
===========================================================================
|
||||||
|
|
@ -472,8 +472,8 @@ ipv6.may-fail: yes
|
||||||
ipv6.ip6-privacy: -1 (unknown)
|
ipv6.ip6-privacy: -1 (unknown)
|
||||||
ipv6.dhcp-hostname: --
|
ipv6.dhcp-hostname: --
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
nmcli> set ipv4.dns 8.8.8.8 8.8.4.4
|
nmcli> <userinput>set ipv4.dns 8.8.8.8 8.8.4.4</userinput>
|
||||||
nmcli> print
|
nmcli> <userinput>print</userinput>
|
||||||
===========================================================================
|
===========================================================================
|
||||||
Connection details
|
Connection details
|
||||||
===========================================================================
|
===========================================================================
|
||||||
|
|
@ -533,12 +533,12 @@ ipv6.may-fail: yes
|
||||||
ipv6.ip6-privacy: -1 (unknown)
|
ipv6.ip6-privacy: -1 (unknown)
|
||||||
ipv6.dhcp-hostname: --
|
ipv6.dhcp-hostname: --
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
nmcli> verify
|
nmcli> <userinput>verify</userinput>
|
||||||
Verify connection: OK
|
Verify connection: OK
|
||||||
nmcli> save
|
nmcli> <userinput>save</userinput>
|
||||||
Connection 'ethernet-4' (de89cdeb-a3e1-4d53-8fa0-c22546c775f4) successfully
|
Connection 'ethernet-4' (de89cdeb-a3e1-4d53-8fa0-c22546c775f4) successfully
|
||||||
saved.
|
saved.
|
||||||
nmcli> quit
|
nmcli> <userinput>quit</userinput>
|
||||||
</screen>
|
</screen>
|
||||||
</example>
|
</example>
|
||||||
<para>
|
<para>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue