Re: Where does NM persists which connection is active? (Centos7)

On Sun, Sep 11, 2016 at 4:31 PM, Jorge Fábregas <jorge fabregas gmail com> wrote:
On 09/11/2016 08:45 AM, Edward Haas wrote:
> Assuming there are multiple connection defined for an ethernet device
> and only a single one is active, how can I detect which ifcfg file was
> used for the connection?


I guess you could search for _ONBOOT_=yes on the ifcfg-* files:



Unfortunately, that is not the case. All connections have it set to YES by default, event
the ones that are not active.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]