2b762a
NetworkManager stores new network profiles in keyfile format in the
2b762a
/etc/NetworkManager/system-connections/ directory.
2b762a
2b762a
Previously, NetworkManager stored network profiles in ifcfg format
2b762a
in this directory (/etc/sysconfig/network-scripts/). However, the ifcfg
2b762a
format is deprecated. By default, NetworkManager no longer creates
2b762a
new profiles in this format.
2b762a
2b762a
Connection profiles in keyfile format have many benefits. For example,
2b762a
this format is INI file-based and can easily be parsed and generated.
2b762a
2b762a
Each section in NetworkManager keyfiles corresponds to a NetworkManager
2b762a
setting name as described in the nm-settings(5) and nm-settings-keyfile(5)
2b762a
man pages. Each key-value-pair in a section is one of the properties
2b762a
listed in the settings specification of the man page.
2b762a
2b762a
If you still use network profiles in ifcfg format, consider migrating
2b762a
them to keyfile format. To migrate all profiles at once, enter:
2b762a
2b762a
# nmcli connection migrate
2b762a
2b762a
This command migrates all profiles from ifcfg format to keyfile
2b762a
format and stores them in /etc/NetworkManager/system-connections/.
2b762a
2b762a
Alternatively, to migrate only a specific profile, enter:
2b762a
2b762a
# nmcli connection migrate <profile_name|UUID|D-Bus_path>
2b762a
2b762a
For further details, see:
2b762a
* nm-settings-keyfile(5)
2b762a
* nmcli(1)