Via the connection.autoconnect and connection.autoconnect-priority settings.
Docs: https://networkmanager.dev/docs/api/lat ... nmcli.html
Code:
# disable autoconnect on a connection sudo nmcli c modify <conn-name> connection.autoconnect no # change the autoconnect priority. Higher number is higher prioritysudo nmcli c modify <conn-name> connection.autoconnect-priority 200
Statistics: Posted by bls — Fri Aug 09, 2024 8:11 pm