Re: NetworkManager behavior answers not found in docs



On 10/25/2018 03:47 PM, Thomas Haller wrote:
For example,

    nmcli connection up "$PROFILE" ifname "$DEVICE"
    nmcli connection modify "$PROFILE" +ipv4.addresses 192.168.77.5/24
    nmcli device reapply "$DEVICE"

is basically the same as:

    nmcli connection up "$PROFILE" ifname "$DEVICE"
    nmcli connection
modify "$PROFILE" +ipv4.addresses 192.168.77.5/24
    nmcli device modify
"$DEVICE" +ipv4.addresses 192.168.77.5/24

Got it. I guess that's what you meant by your cloned/invisible live-in-ram active profile previously. My understanding now is that device modify just modify an internal copy of the profile and then automatically calls apply on it, correct ?

Thanks

--
Thomas


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