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

Issues related to configuring your network
Post Reply
fullbore
Posts: 22
Joined: 2018/10/21 14:33:19

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

Post by fullbore » 2023/04/16 10:57:33

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?

User avatar
jlehtone
Posts: 4553
Joined: 2007/12/11 08:17:33
Location: Finland

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

Post by jlehtone » 2023/04/16 12:26:21

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, ...

fullbore
Posts: 22
Joined: 2018/10/21 14:33:19

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

Post by fullbore » 2023/04/16 14:56:12

This post helped me get things going again-
viewtopic.php?t=75743

Post Reply