Creating a keyfile Connection Profile Using nmcli in Offline Mode
When creating or updating NetworkManager profile connections, we
recommend using its CLI tool in offline mode (nmcli --offline). In
offline mode, nmcli operates without the
NetworkManager service, which offers user enhanced editing control
and the ability to create various connection profiles in keyfile
format. For example, you can create the following type of connection profiles in
keyfile format:
- static Ethernet connection
- dynamic Ethernet connection
- network bond
- network bridge
- VLAN or any kind of enabled connections
Complete the following steps to create a keyfile connection profile using nmcli in offline mode: