Converter for nm-settings-ifcfg-rh-Files to nm-settings-keyfile-Files
nm-settings-ifcfg-rh
-Files to nm-settings-keyfile
-FilesDuring my migration from Fedora to Arch-Linux I realized, that RedHat-Distros use a different file
format for NetworkManager connections (nm-settings-ifcfg-rh
).
The default connection file format is nm-settings-keyfile
.
As I found no easy way to migrate one file format into another, I wrote this script.
It may be possible (and this would certainly be the most recommendable way)
to install nm-settings-ifcfg
and import the old scripts.
But the required package is not available for Arch Linux.
--help
is available)/etc/NetworkManager/system-connections/
chown root:root /etc/NetworkManager/system-connections/*
chmod u=rw,g=o= /etc/NetworkManager/system-connections/*
nmcli connection reload
(c) 2020 sedrubal - MIT