Page 1 of 1

CentOS 9 /etc/sysconfig/network-scripts/ empty

Posted: 2023/04/16 10:57:33
by fullbore
I seem to have made a mess of the networking when trying to set up KVM and nmcli device status shows "Ethernet" as disconnected, but when I went to look in /etc/sysconfig/network-scripts/ it's empty.

Where does CentOS 9 store the network configuration?

Re: CentOS 9 /etc/sysconfig/network-scripts/ empty

Posted: 2023/04/16 12:26:21
by jlehtone
The NetworkManager approach is that "we do not need to know" about the files: you can see (and do) all the config via the nmcli.

That said, if you do browse /etc/NetworkManager, ...

Re: CentOS 9 /etc/sysconfig/network-scripts/ empty

Posted: 2023/04/16 14:56:12
by fullbore
This post helped me get things going again-
viewtopic.php?t=75743